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.001077/0.001077, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001165/0.001166, allocations: 196.1 kB / 16.25 MB, free: 6.621 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.618/2.618, allocations: 437 MB / 0.71 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 55.91 kB / 0.8687 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7675, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003191/0.7708, allocations: 1.579 MB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.7722, allocations: 0.7558 MB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.7723, allocations: 0 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.967e-05/0.7724, allocations: 7.922 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.7725, allocations: 7.938 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.7731, allocations: 103.8 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.7732, allocations: 83.77 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.7733, allocations: 19.98 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.7735, allocations: 39.78 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.7735, allocations: 43.83 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.7736, allocations: 8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.7738, allocations: 95.84 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.7738, allocations: 15.98 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.7739, allocations: 35.8 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.7742, allocations: 145.6 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7742, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7742, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.7742, allocations: 8 kB / 1.02 GB, free: 15.77 MB / 0.7794 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.0007992/0.775, allocations: 458.5 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.775, allocations: 15.97 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.7751, allocations: 8.844 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.7753, allocations: 176.2 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.7753, allocations: 8.375 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.7753, allocations: 4.375 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.7755, allocations: 85.83 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7755, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.7755, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7756, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.7757, allocations: 39.97 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.7763, allocations: 328.6 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.7765, allocations: 54.56 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.7765, allocations: 36.84 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.7766, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.7768, allocations: 99.38 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.7768, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003902/0.7772, allocations: 153.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.7773, allocations: 51.56 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.7774, allocations: 133.3 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.7774, allocations: 25.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.7775, allocations: 100.3 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.7776, allocations: 23.66 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.7776, allocations: 29.7 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7777, allocations: 330.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.7778, allocations: 27.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.7779, allocations: 69.12 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.7781, allocations: 97.02 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7781, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000241/0.7784, allocations: 129.4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7784, allocations: 9.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7784, allocations: 4.219 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.7784, allocations: 7.984 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.7785, allocations: 11.98 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.7786, allocations: 7.938 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.7787, allocations: 11.89 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.7787, allocations: 8 kB / 1.022 GB, free: 12.99 MB / 0.7794 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.000118/0.7788, allocations: 135.7 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.7788, allocations: 11.91 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.7792, allocations: 145.9 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7792, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7792, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7792, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.7798, allocations: 430.2 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7798, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.7799, allocations: 15.92 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7799, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.7799, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7799, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7799, allocations: 3.938 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.7802, allocations: 223.3 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.7802, allocations: 89.02 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.7803, allocations: 4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.7804, allocations: 11.98 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.7805, allocations: 15.92 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.7805, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.7805, allocations: 99.25 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7806, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003031/0.7809, allocations: 44 kB / 1.023 GB, free: 11.66 MB / 0.7794 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.0003403/0.7812, allocations: 167.5 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.7815, allocations: 87.89 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7815, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.7816, allocations: 55.84 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.7819, allocations: 17.14 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.7824, allocations: 219.8 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.7828, allocations: 0.7002 MB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.999e-05/0.7828, allocations: 8.422 kB / 1.024 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.7829, allocations: 19.42 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7829, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.004464/0.7873, allocations: 1.727 MB / 1.026 GB, free: 8.629 MB / 0.7794 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/jenkins/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