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.001012/0.001012, allocations: 92 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.008013/0.008013, allocations: 169.9 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.155/1.155, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 11.77 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.243, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001488/0.2445, allocations: 1.229 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2457, allocations: 0.7479 MB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.2457, allocations: 4 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2457, allocations: 3.938 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.2458, allocations: 11.92 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.2463, allocations: 107.8 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2464, allocations: 79.7 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/0.2464, allocations: 11.98 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.2465, allocations: 35.86 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.2466, allocations: 39.81 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2466, allocations: 8 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.2468, allocations: 87.84 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.2468, allocations: 15.92 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.2469, allocations: 57.56 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.2471, allocations: 139.9 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2471, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2471, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2471, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 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.0006225/0.2478, allocations: 458.7 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2478, allocations: 11.97 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.2479, allocations: 34.75 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.2479, allocations: 8.844 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.248, allocations: 187.2 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.248, allocations: 4.312 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2481, allocations: 8.375 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2483, allocations: 81.77 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.2483, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2483, allocations: 4 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2483, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.2484, allocations: 47.91 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.2489, allocations: 328.7 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2491, allocations: 66.53 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.2492, allocations: 32.84 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2492, allocations: 4 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.2494, allocations: 103.3 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2494, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003717/0.2498, allocations: 165.5 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.2498, allocations: 51.41 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.2499, allocations: 129.8 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.25, allocations: 29.7 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.25, allocations: 92.53 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.25, allocations: 27.69 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.2501, allocations: 17.72 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2502, allocations: 322.8 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.2503, allocations: 27.98 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2504, allocations: 73.12 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2506, allocations: 109 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2506, allocations: 3.938 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002444/0.2508, allocations: 125.4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2508, allocations: 8 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2509, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2509, allocations: 8.125 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.251, allocations: 15.98 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.251, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2511, allocations: 23.92 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.2511, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 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 9.17e-05/0.2512, allocations: 130.1 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.2513, allocations: 11.91 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.2516, allocations: 149.9 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2516, allocations: 3.938 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2516, allocations: 11.94 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2516, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.2521, allocations: 430.4 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2522, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.2522, allocations: 15.92 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2522, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2523, allocations: 8 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2523, allocations: 3.938 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.2523, allocations: 3.984 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.2526, allocations: 227.4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.2526, allocations: 88.95 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2526, allocations: 7.984 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2528, allocations: 12.03 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.2528, allocations: 11.97 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2528, allocations: 11.98 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.2529, allocations: 102.8 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2529, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002987/0.2532, allocations: 40 kB / 1.065 GB, free: 14.11 MB / 0.8262 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.0007208/0.2539, allocations: 0.8138 MB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.2542, allocations: 91.89 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2542, allocations: 8.188 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2543, allocations: 47.91 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2546, allocations: 20.95 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.2562, allocations: 1.636 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2564, allocations: 0.6926 MB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.583e-05/0.2565, allocations: 8.438 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.2565, allocations: 31.42 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.2566, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.2724, allocations: 2.725 MB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.2727, allocations: 253.2 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.989, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 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