Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008725, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005506/0.005506, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 443.3 MB / 0.7176 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 8.25 kB / 0.8797 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2278, allocations: 155.2 MB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001365/0.2292, allocations: 1.222 MB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2302, allocations: 0.7562 MB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.2302, allocations: 3.938 kB / 1.033 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2303, allocations: 3.984 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.2304, allocations: 15.86 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.2307, allocations: 99.77 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.2308, allocations: 87.77 kB / 1.033 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.2309, allocations: 4 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.505e-05/0.231, allocations: 39.84 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.231, allocations: 35.83 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2311, allocations: 4 kB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.2312, allocations: 91.84 kB / 1.034 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.2313, allocations: 15.97 kB / 1.034 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.2313, allocations: 61.5 kB / 1.034 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2315, allocations: 139.9 kB / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2315, allocations: 0 / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2315, allocations: 3.938 kB / 1.034 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.2315, allocations: 0 / 1.034 GB, free: 1.645 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005649/0.2321, allocations: 454.7 kB / 1.034 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.2321, allocations: 12.03 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.2322, allocations: 38.75 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.2322, allocations: 8.844 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2323, allocations: 175.7 kB / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2323, allocations: 8.312 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.2324, allocations: 8.375 kB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.2325, allocations: 81.64 kB / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.2325, allocations: 0 / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2325, allocations: 0 / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2326, allocations: 8 kB / 1.035 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2327, allocations: 43.97 kB / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.2331, allocations: 320.7 kB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2333, allocations: 74.58 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.2334, allocations: 32.84 kB / 1.035 GB, free: 240 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.2334, allocations: 4 kB / 1.035 GB, free: 236 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.2336, allocations: 95.36 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.2336, allocations: 0 / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003562/0.2339, allocations: 165.5 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.234, allocations: 55.41 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.2341, allocations: 129.7 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2341, allocations: 33.7 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.2341, allocations: 92.36 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2342, allocations: 23.86 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.2342, allocations: 21.72 kB / 1.036 GB, free: 15.57 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.2343, allocations: 326.8 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.2344, allocations: 23.98 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.2345, allocations: 73.12 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2347, allocations: 105 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2347, allocations: 4 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002211/0.2349, allocations: 129.4 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.2349, allocations: 4.375 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2349, allocations: 4 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.2349, allocations: 3.984 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.235, allocations: 19.92 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2351, allocations: 12.05 kB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2352, allocations: 19.94 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2352, allocations: 7.984 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.2353, allocations: 134.7 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.2353, allocations: 7.906 kB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.2356, allocations: 153.9 kB / 1.037 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2356, allocations: 0 / 1.037 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2356, allocations: 4 kB / 1.037 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2356, allocations: 0 / 1.037 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.2361, allocations: 446.2 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2361, allocations: 0 / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.149e-05/0.2362, allocations: 12 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2362, allocations: 0 / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2362, allocations: 7.984 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.2362, allocations: 3.938 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2362, allocations: 0 / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2365, allocations: 231.4 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.2365, allocations: 84.95 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.2366, allocations: 7.984 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2367, allocations: 15.94 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.2367, allocations: 11.97 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2367, allocations: 4 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.2368, allocations: 99.27 kB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2368, allocations: 4 kB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002637/0.2371, allocations: 36 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006623/0.2377, allocations: 0.8296 MB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.238, allocations: 83.89 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.238, allocations: 0 / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2381, allocations: 55.91 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.2383, allocations: 20.19 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2398, allocations: 1.628 MB / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.24, allocations: 0.6926 MB / 1.041 GB, free: 10 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.32e-05/0.24, allocations: 12.42 kB / 1.041 GB, free: 9.988 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.2401, allocations: 23.44 kB / 1.041 GB, free: 9.969 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.2401, allocations: 4 kB / 1.041 GB, free: 9.965 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/0.3671, allocations: 2.728 MB / 1.043 GB, free: 7.387 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/0.3674, allocations: 261 kB / 1.044 GB, free: 7.129 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.007, allocations: 0 / 1.044 GB, free: 7.129 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches