Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001579, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001772/0.001772, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 67.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6844, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002275/0.6867, allocations: 1.508 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.6878, allocations: 0.7556 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.6878, allocations: 0.9688 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.6879, allocations: 4.734 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/0.688, allocations: 20.19 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.6884, allocations: 130.5 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.6885, allocations: 81.59 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.6886, allocations: 15.27 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.509e-05/0.6887, allocations: 40.78 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.6888, allocations: 37.28 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.6888, allocations: 7.281 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.689, allocations: 102.5 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.689, allocations: 20.3 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.6891, allocations: 33.09 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.6893, allocations: 153.5 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6893, allocations: 1.922 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6893, allocations: 0 / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.6893, allocations: 3.938 kB / 1.091 GB, free: 3.684 MB / 0.8575 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.0006095/0.69, allocations: 451.3 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.69, allocations: 11.94 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.6901, allocations: 13.19 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.6902, allocations: 179.3 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.6902, allocations: 2.844 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.6902, allocations: 13.14 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6904, allocations: 71.89 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.6904, allocations: 4.734 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6904, allocations: 0.7812 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6904, allocations: 1.094 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.6906, allocations: 46.11 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.6911, allocations: 319.5 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.6912, allocations: 67.5 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.6913, allocations: 32.42 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.6913, allocations: 5.438 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.6915, allocations: 100.6 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.6915, allocations: 0 / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003808/0.6919, allocations: 157.1 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.6919, allocations: 54.7 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.692, allocations: 127.2 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.692, allocations: 34.86 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.6921, allocations: 92.88 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.6921, allocations: 21.2 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.6922, allocations: 35.88 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.6922, allocations: 327.5 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.6923, allocations: 23.98 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.6924, allocations: 71.34 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.6925, allocations: 96.09 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6925, allocations: 0 / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002331/0.6928, allocations: 133.5 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6928, allocations: 6.219 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6928, allocations: 5.625 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.6928, allocations: 2.797 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.6929, allocations: 18.5 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.693, allocations: 2.766 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.6931, allocations: 13.47 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6931, allocations: 9.656 kB / 1.094 GB, free: 1.562 MB / 0.8575 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 6.563e-05/0.6932, allocations: 124.5 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.6932, allocations: 12.83 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.6935, allocations: 154 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6935, allocations: 0.7031 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6935, allocations: 0.6875 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.6935, allocations: 84.42 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.6936, allocations: 6.016 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.6937, allocations: 12.84 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.6937, allocations: 11.55 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003072/0.694, allocations: 222.7 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002697/0.6943, allocations: 299.7 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.549e-05/0.6944, allocations: 49.48 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.6945, allocations: 94.78 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/0.6945, allocations: 0 / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.6951, allocations: 188.7 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003896/0.6955, allocations: 0.6389 MB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of Templates: time 0.004775/0.7003, allocations: 1.826 MB / 1.097 GB, free: 15.86 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches