Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.001505/0.001505, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001685/0.001685, allocations: 187 kB / 17.34 MB, free: 5.742 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7672, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002947/0.7702, allocations: 1.511 MB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.7717, allocations: 0.7556 MB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.7718, allocations: 3.938 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.7719, allocations: 7.875 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.772, allocations: 19.86 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.7727, allocations: 127.6 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.7728, allocations: 83.75 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.773, allocations: 12 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.7731, allocations: 39.78 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.7732, allocations: 39.83 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.7732, allocations: 8 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.7734, allocations: 99.84 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.7735, allocations: 15.98 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.7736, allocations: 39.8 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.7738, allocations: 139.5 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7739, allocations: 3.984 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7739, allocations: 0 / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7739, allocations: 0 / 1.211 GB, free: 10.69 MB / 0.9356 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.0009571/0.7748, allocations: 464.4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.7749, allocations: 16.03 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.775, allocations: 12.86 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.7753, allocations: 180.1 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.7753, allocations: 384 / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.7753, allocations: 8.375 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.7756, allocations: 73.95 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7756, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.7756, allocations: 8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.7756, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.7758, allocations: 43.91 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.7766, allocations: 316.8 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.7768, allocations: 58.64 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.7768, allocations: 40.72 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.7769, allocations: 4 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.7772, allocations: 91.52 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.7772, allocations: 0 / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004525/0.7777, allocations: 161.5 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.7777, allocations: 55.39 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.7779, allocations: 129.7 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.7779, allocations: 29.7 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.778, allocations: 100.4 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.7781, allocations: 23.66 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/0.7782, allocations: 29.7 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.7783, allocations: 326.8 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.7784, allocations: 23.98 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.7786, allocations: 80.56 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.7788, allocations: 97.06 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.7788, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003025/0.7791, allocations: 133.4 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7791, allocations: 4 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7792, allocations: 4 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7792, allocations: 0 / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.7793, allocations: 19.92 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.7793, allocations: 8 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.7795, allocations: 15.92 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.7795, allocations: 4.125 kB / 1.214 GB, free: 7.91 MB / 0.9356 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 0.0001597/0.7796, allocations: 129.8 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.7797, allocations: 7.906 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.7801, allocations: 149.9 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.7801, allocations: 3.984 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.7801, allocations: 384 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.7801, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.7808, allocations: 442.2 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7808, allocations: 0 / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.7809, allocations: 15.92 kB / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.7809, allocations: 0 / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.7809, allocations: 4 kB / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7809, allocations: 0 / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7809, allocations: 3.938 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.7813, allocations: 235.3 kB / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.7813, allocations: 81.02 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.7814, allocations: 8 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.7815, allocations: 7.984 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.7815, allocations: 11.92 kB / 1.215 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.7816, allocations: 8 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.409e-05/0.7817, allocations: 95.27 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7817, allocations: 0 / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000353/0.782, allocations: 47.98 kB / 1.215 GB, free: 6.574 MB / 0.9356 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.0004255/0.7825, allocations: 166.4 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.7827, allocations: 79.89 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7827, allocations: 256 / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.7829, allocations: 59.86 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.7832, allocations: 18.67 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.7837, allocations: 229.3 kB / 1.215 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.784, allocations: 0.7001 MB / 1.216 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.784, allocations: 19.44 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.784, allocations: 0 / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of Templates: time 0.003945/0.788, allocations: 1.824 MB / 1.218 GB, free: 3.441 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches