Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001698/0.001698, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00195/0.00195, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.7 MB / 0.7449 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 65.94 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3361, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.004129/0.3403, allocations: 1.57 MB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3418, allocations: 0.7479 MB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.3419, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.3419, allocations: 3.938 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3421, allocations: 23.91 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.3427, allocations: 107.7 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3428, allocations: 83.77 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.343, allocations: 15.98 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3431, allocations: 35.84 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.3432, allocations: 39.83 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.3433, allocations: 8 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.3435, allocations: 103.8 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.3436, allocations: 23.91 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.3436, allocations: 27.86 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.3441, allocations: 147.9 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3441, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3441, allocations: 3.938 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3441, allocations: 4 kB / 1.071 GB, free: 7.77 MB / 0.8262 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.001187/0.3453, allocations: 454.5 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.3454, allocations: 16.03 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.3454, allocations: 8.938 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3456, allocations: 188.1 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3457, allocations: 4.375 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3457, allocations: 8.375 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3459, allocations: 69.95 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.346, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.346, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.346, allocations: 4 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3462, allocations: 51.91 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.347, allocations: 316.7 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3472, allocations: 62.55 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.753e-05/0.3472, allocations: 32.84 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3473, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.3476, allocations: 99.39 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.3476, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004889/0.3481, allocations: 157.5 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.3482, allocations: 51.41 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3484, allocations: 137.1 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3484, allocations: 30.08 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.3485, allocations: 88.38 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.3485, allocations: 27.84 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.3486, allocations: 33.7 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3487, allocations: 330.7 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.3488, allocations: 23.98 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3489, allocations: 73.08 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3491, allocations: 97.05 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3491, allocations: 8 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002745/0.3494, allocations: 125.4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3495, allocations: 8 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3495, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3495, allocations: 7.938 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3496, allocations: 11.98 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3496, allocations: 7.938 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3498, allocations: 20.05 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3498, allocations: 8 kB / 1.073 GB, free: 4.98 MB / 0.8262 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.0001265/0.3499, allocations: 125.6 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.3499, allocations: 7.906 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.3503, allocations: 145.9 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3503, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3503, allocations: 4 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3503, allocations: 7.984 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.3509, allocations: 422.2 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.351, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.351, allocations: 11.98 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.351, allocations: 0 / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3511, allocations: 4 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3511, allocations: 4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3511, allocations: 7.938 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.3514, allocations: 227.5 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.3515, allocations: 88.95 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3515, allocations: 0 / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3516, allocations: 15.98 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.3517, allocations: 15.86 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3517, allocations: 4 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.3518, allocations: 103.3 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3518, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003272/0.3521, allocations: 43.98 kB / 1.074 GB, free: 3.664 MB / 0.8262 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.0003628/0.3525, allocations: 160.6 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3527, allocations: 91.83 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3528, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3529, allocations: 51.97 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3532, allocations: 15.97 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.3537, allocations: 239.7 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.354, allocations: 0.6963 MB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.278e-05/0.354, allocations: 8.422 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.3541, allocations: 23.44 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3541, allocations: 0 / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of Templates: time 0.004763/0.3589, allocations: 1.726 MB / 1.077 GB, free: 0.6211 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches