Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Love1998Light2,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.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_10_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.001198/0.001197, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001924/0.001924, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437.7 MB / 0.7117 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006303/0.0006306, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8201, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001648/0.8218, allocations: 1.215 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.823, allocations: 0.7095 MB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.8231, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.8231, allocations: 3.938 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.8232, allocations: 15.92 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.8237, allocations: 95.77 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.8238, allocations: 83.69 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.8239, allocations: 12 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.824, allocations: 27.92 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.8241, allocations: 43.81 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.8241, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.8243, allocations: 83.86 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.8243, allocations: 15.97 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.8243, allocations: 37.64 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.8245, allocations: 101.8 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8245, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8245, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8245, allocations: 0 / 1.025 GB, free: 13.59 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.0006848/0.8252, allocations: 462.3 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.8253, allocations: 8.562 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.8253, allocations: 4 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.8255, allocations: 174.9 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.8255, allocations: 11.92 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.8255, allocations: 8 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.8257, allocations: 73.61 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.8257, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.8258, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.8258, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.8259, allocations: 43.97 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.8264, allocations: 328.6 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.8266, allocations: 70.53 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.8267, allocations: 32.84 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.8267, allocations: 15.92 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.8269, allocations: 95.39 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.827, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.00039/0.8274, allocations: 161.5 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.8274, allocations: 59.41 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.8275, allocations: 125.6 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.8275, allocations: 33.69 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.8276, allocations: 88.38 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.8276, allocations: 23.66 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.8276, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8278, allocations: 322.8 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.8278, allocations: 31.98 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.8279, allocations: 65.12 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.828, allocations: 43.88 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.828, allocations: 0 / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002244/0.8283, allocations: 129.4 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8283, allocations: 11.94 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8283, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8283, allocations: 3.984 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.8284, allocations: 16.11 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8284, allocations: 8 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.8285, allocations: 19.84 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.8286, allocations: 7.984 kB / 1.027 GB, free: 10.9 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.8287, allocations: 123.5 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.8287, allocations: 7.906 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.829, allocations: 165.8 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.829, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.829, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.829, allocations: 384 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.8296, allocations: 442.4 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.8296, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.8296, allocations: 11.94 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.8297, allocations: 7.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.8297, allocations: 3.984 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.8297, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8297, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.83, allocations: 235.3 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.83, allocations: 89 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.83, allocations: 0 / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.8302, allocations: 11.98 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.8302, allocations: 11.98 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.8302, allocations: 4 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.8303, allocations: 99.27 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8303, allocations: 3.938 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000301/0.8306, allocations: 44 kB / 1.028 GB, free: 9.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003513/0.831, allocations: 172.7 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.8312, allocations: 91.84 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.8312, allocations: 0 / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.8313, allocations: 51.91 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.8316, allocations: 15.94 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.832, allocations: 232 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.8323, allocations: 0.6926 MB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.8323, allocations: 16.42 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.8324, allocations: 15.44 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.8324, allocations: 0 / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of Templates: time 0.004378/0.8368, allocations: 1.617 MB / 1.031 GB, free: 6.621 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches