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.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.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.0009178/0.0009177, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009484/0.0009485, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.238 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.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6452, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001846/0.6471, allocations: 1.231 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.6487, allocations: 0.7559 MB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.6488, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.6488, allocations: 7.938 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.6489, allocations: 7.875 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.6495, allocations: 103.8 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.6496, allocations: 79.77 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.6497, allocations: 12 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.6498, allocations: 35.84 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.6499, allocations: 39.83 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.65, allocations: 7.938 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.6502, allocations: 91.84 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.6502, allocations: 11.98 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.6503, allocations: 57.5 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.6505, allocations: 105.8 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6505, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6505, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.6505, allocations: 0 / 1.026 GB, free: 13.32 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.0008126/0.6513, allocations: 454.5 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6514, allocations: 12.03 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.6514, allocations: 4.938 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.6516, allocations: 184.1 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.6517, allocations: 4.375 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.6517, allocations: 8.375 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.6519, allocations: 77.95 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6519, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.6519, allocations: 4 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6519, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.6521, allocations: 47.97 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.6527, allocations: 328.7 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.6529, allocations: 62.56 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.653, allocations: 36.84 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.653, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.6533, allocations: 99.38 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.6533, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004424/0.6538, allocations: 169.7 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.6538, allocations: 51.41 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.654, allocations: 136.7 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.654, allocations: 25.7 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.6541, allocations: 96.36 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.6541, allocations: 27.8 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.6542, allocations: 21.7 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6543, allocations: 326.8 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.6544, allocations: 27.97 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.6545, allocations: 69.14 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.6548, allocations: 109 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6548, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003535/0.6552, allocations: 137.4 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6552, allocations: 6.031 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6553, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6553, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.6554, allocations: 19.98 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.6554, allocations: 3.938 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.6556, allocations: 19.92 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6556, allocations: 8.125 kB / 1.029 GB, free: 10.52 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.0001112/0.6557, allocations: 126.4 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.6557, allocations: 7.906 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.6561, allocations: 153.9 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6561, allocations: 4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6561, allocations: 4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6561, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.6567, allocations: 430.3 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6567, allocations: 0 / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.6568, allocations: 11.94 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6568, allocations: 4 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.6568, allocations: 11.98 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6568, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6568, allocations: 3.938 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.6571, allocations: 223.4 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.6572, allocations: 89 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.6572, allocations: 8 kB / 1.03 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.6573, allocations: 11.98 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.6574, allocations: 15.92 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.6574, allocations: 8 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.6575, allocations: 99.2 kB / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6575, allocations: 0 / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003693/0.6578, allocations: 43.98 kB / 1.03 GB, free: 9.176 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.0003663/0.6582, allocations: 166.8 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.6585, allocations: 87.89 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6585, allocations: 4.188 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.6586, allocations: 51.92 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.6589, allocations: 15.98 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.6594, allocations: 260.7 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6597, allocations: 0.6965 MB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.6597, allocations: 19.42 kB / 1.031 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6597, allocations: 0 / 1.031 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of Templates: time 0.003669/0.6634, allocations: 1.817 MB / 1.033 GB, free: 6.023 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/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