Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,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.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,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.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 107.8 kB / 16.41 MB, free: 6.465 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.001763/0.001763, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.8678, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002662/0.8705, allocations: 1.517 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.8719, allocations: 0.7489 MB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.8719, allocations: 0.875 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.872, allocations: 9.297 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.8721, allocations: 19.89 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.8727, allocations: 130.2 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.8729, allocations: 85.33 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.873, allocations: 7.703 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.8731, allocations: 45.53 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.8732, allocations: 40.7 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.8732, allocations: 7.125 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.8734, allocations: 95.11 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.8734, allocations: 20.19 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.8735, allocations: 32.95 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.8738, allocations: 154.1 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8738, allocations: 0 / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8738, allocations: 1 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8738, allocations: 0 / 1.091 GB, free: 3.672 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.0006637/0.8745, allocations: 458.4 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8745, allocations: 10.39 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.8746, allocations: 8.938 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.8747, allocations: 179.3 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.8747, allocations: 2.812 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.8747, allocations: 4.562 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.8749, allocations: 80.66 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.875, allocations: 0 / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.875, allocations: 5 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.875, allocations: 1.531 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.8751, allocations: 41.62 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.8756, allocations: 323.7 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.8758, allocations: 62.44 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.8759, allocations: 36.84 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.8759, allocations: 1.859 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.8761, allocations: 96.42 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.8761, allocations: 0 / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004116/0.8766, allocations: 161.8 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.8766, allocations: 61.98 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.8767, allocations: 127.3 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.8767, allocations: 31.45 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.8768, allocations: 92.48 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.8768, allocations: 25.3 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.8769, allocations: 32.09 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.8769, allocations: 324.1 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.877, allocations: 27.5 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.8771, allocations: 69.34 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.8773, allocations: 108.6 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8773, allocations: 7.938 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002468/0.8775, allocations: 129.8 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8776, allocations: 6.547 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8776, allocations: 1.594 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8776, allocations: 2 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.8777, allocations: 15.33 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8777, allocations: 5.688 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.8778, allocations: 13.73 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.8778, allocations: 5.219 kB / 1.094 GB, free: 1.543 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 7.752e-05/0.8779, allocations: 128.1 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.878, allocations: 7.875 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.8783, allocations: 150.1 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8783, allocations: 1.203 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8783, allocations: 4.844 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8783, allocations: 0.7969 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.8789, allocations: 424.8 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8789, allocations: 0 / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.8789, allocations: 10.66 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.879, allocations: 4.938 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.879, allocations: 2.141 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.879, allocations: 0.875 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.879, allocations: 13.5 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.8793, allocations: 222.7 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.8793, allocations: 85.31 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.8793, allocations: 1.453 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.8795, allocations: 12.12 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.8795, allocations: 16.58 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.8795, allocations: 8.594 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.8796, allocations: 98.92 kB / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8796, allocations: 0 / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003444/0.88, allocations: 42.02 kB / 1.095 GB, free: 0.6055 MB / 0.8575 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.0003641/0.8803, allocations: 178.8 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.8806, allocations: 85.98 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8806, allocations: 0 / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.8807, allocations: 50.52 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.881, allocations: 14.17 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.8815, allocations: 229 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.8818, allocations: 0.6984 MB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.8818, allocations: 15.25 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.8818, allocations: 0 / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.005035/0.8869, allocations: 1.84 MB / 1.098 GB, free: 15.36 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches