Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0011/0.001101, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001134/0.001135, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6913, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002416/0.6938, allocations: 1.51 MB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.695, allocations: 0.7556 MB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.6951, allocations: 0 / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.6951, allocations: 7.938 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.6952, allocations: 15.8 kB / 1.17 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.6957, allocations: 135.5 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.6958, allocations: 79.77 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.6959, allocations: 19.98 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/0.696, allocations: 43.84 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.6961, allocations: 35.89 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.6961, allocations: 7.938 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.6963, allocations: 95.84 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.6963, allocations: 15.98 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.6964, allocations: 39.78 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.6966, allocations: 156.5 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6967, allocations: 0 / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6967, allocations: 0 / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.6967, allocations: 0 / 1.17 GB, free: 1.109 MB / 0.8887 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.000677/0.6974, allocations: 466.3 kB / 1.171 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6974, allocations: 8.031 kB / 1.171 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.6974, allocations: 12.83 kB / 1.171 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.6976, allocations: 176.3 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6976, allocations: 8.375 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.6976, allocations: 8.375 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.6978, allocations: 73.91 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6978, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.6978, allocations: 4 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6978, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.698, allocations: 43.95 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.6985, allocations: 328.7 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.6987, allocations: 62.58 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.544e-05/0.6988, allocations: 32.84 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.6988, allocations: 4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.699, allocations: 95.36 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.699, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000393/0.6994, allocations: 161.5 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6995, allocations: 55.34 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.6996, allocations: 130.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.6996, allocations: 29.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.6996, allocations: 92.38 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.6997, allocations: 27.78 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.6997, allocations: 33.7 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6999, allocations: 322.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.6999, allocations: 23.98 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.7, allocations: 70.25 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.7002, allocations: 101.1 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7002, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002338/0.7005, allocations: 121.6 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7005, allocations: 12.03 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7005, allocations: 3.984 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.7005, allocations: 4 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.7006, allocations: 19.92 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7007, allocations: 4 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.7008, allocations: 11.95 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.7008, allocations: 11.98 kB / 1.173 GB, free: 14.33 MB / 0.9044 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.499e-05/0.7009, allocations: 135.9 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.7009, allocations: 11.89 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.7012, allocations: 142 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7013, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7013, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.7013, allocations: 85.06 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.7013, allocations: 3.984 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.7014, allocations: 11.94 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.7015, allocations: 11.98 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003391/0.7018, allocations: 229.1 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003191/0.7022, allocations: 302.7 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.899e-05/0.7023, allocations: 47.91 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.7023, allocations: 96.77 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of Backend: time 3.41e-07/0.7023, allocations: 4.375 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006235/0.703, allocations: 196.2 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005345/0.7035, allocations: 0.6406 MB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.004427/0.708, allocations: 1.808 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches