Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007341/0.007341, allocations: 96.52 kB / 15.73 MB, free: 6.484 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.001677/0.001677, allocations: 192 kB / 16.67 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.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.731/2.731, allocations: 469.8 MB / 0.7425 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.91 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3408, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.0025/0.3433, allocations: 1.514 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3447, allocations: 0.7595 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.3447, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.3447, allocations: 7.875 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.3448, allocations: 15.86 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.3454, allocations: 127.6 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3455, allocations: 83.77 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.3456, allocations: 7.984 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.3457, allocations: 47.78 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.3457, allocations: 39.78 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3458, allocations: 4 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3459, allocations: 99.84 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.346, allocations: 23.95 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.346, allocations: 35.8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.3462, allocations: 143.5 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3462, allocations: 4 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3462, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3463, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 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.0007533/0.347, allocations: 466.3 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001003/0.3471, allocations: 12.03 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3471, allocations: 8.891 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3473, allocations: 184.2 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3473, allocations: 8.375 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.3473, allocations: 12.36 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3475, allocations: 69.97 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3475, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3475, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3475, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3476, allocations: 47.91 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.3481, allocations: 320.7 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3483, allocations: 58.55 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.3484, allocations: 28.84 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3484, allocations: 0 / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3486, allocations: 99.39 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3486, allocations: 0 / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004508/0.349, allocations: 165.5 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3491, allocations: 51.41 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3492, allocations: 129.7 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3492, allocations: 33.69 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.3492, allocations: 92.38 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.3493, allocations: 28 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.3493, allocations: 33.7 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3494, allocations: 326.8 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.3495, allocations: 23.98 kB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.3497, allocations: 76.56 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3499, allocations: 105 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3499, allocations: 0 / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000269/0.3502, allocations: 129.5 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3502, allocations: 7.938 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3502, allocations: 4 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3502, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3503, allocations: 15.98 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3503, allocations: 11.92 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3504, allocations: 15.89 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3504, allocations: 7.984 kB / 1.226 GB, free: 8.148 MB / 0.9825 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.0001106/0.3505, allocations: 131.8 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.3506, allocations: 7.953 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.3509, allocations: 145.9 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3509, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3509, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3509, allocations: 4 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.3514, allocations: 430.2 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3514, allocations: 4 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.3515, allocations: 8 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3515, allocations: 0 / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3515, allocations: 7.984 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3515, allocations: 0 / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3515, allocations: 3.938 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3518, allocations: 223.4 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3519, allocations: 93 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3519, allocations: 7.984 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.352, allocations: 11.94 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.3521, allocations: 11.92 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3521, allocations: 8.359 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.3522, allocations: 99.27 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3522, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003029/0.3525, allocations: 39.94 kB / 1.227 GB, free: 6.824 MB / 0.9825 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.0003339/0.3528, allocations: 165 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.353, allocations: 83.83 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.353, allocations: 0 / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3531, allocations: 48.14 kB / 1.227 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.3534, allocations: 19.98 kB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.3538, allocations: 207.4 kB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3542, allocations: 0.6963 MB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.3542, allocations: 16.42 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.3543, allocations: 15.44 kB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3543, allocations: 0 / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of Templates: time 0.004782/0.3591, allocations: 1.821 MB / 1.23 GB, free: 3.73 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches