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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.345/2.345, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7617, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002835/0.7646, allocations: 1.503 MB / 0.951 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.7658, allocations: 0.7549 MB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.7659, allocations: 1.375 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.7659, allocations: 11.86 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.766, allocations: 13.23 kB / 0.9518 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.7666, allocations: 127.5 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.7667, allocations: 86.7 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.7668, allocations: 14.23 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.7669, allocations: 43.48 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.767, allocations: 34.12 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.767, allocations: 7.719 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.7672, allocations: 98.12 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.7672, allocations: 22.94 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.7673, allocations: 40.89 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.7676, allocations: 142.7 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7676, allocations: 0 / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7676, allocations: 1.031 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7676, allocations: 0 / 0.9524 GB, free: 6.914 MB / 0.7169 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.0006959/0.7683, allocations: 461.1 kB / 0.9528 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7683, allocations: 10.66 kB / 0.9528 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.7684, allocations: 8.375 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.7685, allocations: 188.5 kB / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.7685, allocations: 6.734 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.7686, allocations: 8.438 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.7687, allocations: 77.64 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.7688, allocations: 1.5 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.7688, allocations: 4 kB / 0.9531 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7688, allocations: 1.312 kB / 0.9531 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.7689, allocations: 37.91 kB / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.7694, allocations: 329.7 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.7696, allocations: 63.55 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.7697, allocations: 37.22 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.7697, allocations: 1.312 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.7699, allocations: 99.95 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.77, allocations: 0 / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004387/0.7704, allocations: 158.9 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.7704, allocations: 52.5 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.7706, allocations: 132.3 kB / 0.954 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7706, allocations: 26.83 kB / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.7706, allocations: 98.42 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.7707, allocations: 28.11 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.7707, allocations: 32.39 kB / 0.9542 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.7708, allocations: 324.2 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.7709, allocations: 23.11 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.771, allocations: 71.91 kB / 0.9546 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.7711, allocations: 97.23 kB / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7711, allocations: 0 / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002394/0.7714, allocations: 132.6 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7714, allocations: 5.062 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7714, allocations: 1.562 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7715, allocations: 2.438 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.7716, allocations: 18.67 kB / 0.9548 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.7716, allocations: 6.469 kB / 0.9548 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.7717, allocations: 17.92 kB / 0.9548 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.7717, allocations: 5.156 kB / 0.9549 GB, free: 4.594 MB / 0.7169 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.286e-05/0.7718, allocations: 127.8 kB / 0.955 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.7718, allocations: 8.062 kB / 0.955 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.7721, allocations: 158 kB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7722, allocations: 1.156 kB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7722, allocations: 3.984 kB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7722, allocations: 1.062 kB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.7727, allocations: 419.2 kB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7727, allocations: 3.938 kB / 0.9555 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.7728, allocations: 15.61 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7728, allocations: 1.125 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.7728, allocations: 5.125 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7728, allocations: 1.188 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7728, allocations: 3.938 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.7731, allocations: 224.4 kB / 0.9558 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.7731, allocations: 83.27 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.7731, allocations: 6.188 kB / 0.9559 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.7733, allocations: 8.453 kB / 0.9559 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.7733, allocations: 12.8 kB / 0.9559 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.7733, allocations: 11.38 kB / 0.9559 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.7734, allocations: 98.92 kB / 0.956 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.41e-07/0.7734, allocations: 4 kB / 0.956 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003363/0.7737, allocations: 51.55 kB / 0.956 GB, free: 3.547 MB / 0.7169 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.0003244/0.7741, allocations: 161.6 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.7743, allocations: 90.73 kB / 0.9563 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7743, allocations: 0 / 0.9563 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.7744, allocations: 43.95 kB / 0.9563 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.7747, allocations: 22.44 kB / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.7751, allocations: 205.2 kB / 0.9565 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.7753, allocations: 0.6999 MB / 0.9572 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.635e-05/0.7753, allocations: 16.67 kB / 0.9572 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.7754, allocations: 14.73 kB / 0.9573 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7754, allocations: 4 kB / 0.9573 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.004449/0.7798, allocations: 1.792 MB / 0.959 GB, free: 1.551 MB / 0.7169 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/jenkins/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