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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001447/0.001447, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001625/0.001625, allocations: 193 kB / 17.29 MB, free: 5.48 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 64.83 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002655/0.3165, allocations: 1.521 MB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3179, allocations: 0.771 MB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.3179, allocations: 4 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.318, allocations: 3.938 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.3181, allocations: 19.84 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.3186, allocations: 123.6 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3188, allocations: 83.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.3188, allocations: 15.98 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.527e-05/0.3189, allocations: 35.91 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.319, allocations: 39.83 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.319, allocations: 8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.3192, allocations: 99.84 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.3193, allocations: 19.92 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.3193, allocations: 35.84 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3196, allocations: 151.5 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3196, allocations: 0 / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3196, allocations: 0 / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3196, allocations: 4 kB / 1.03 GB, free: 15.15 MB / 0.8106 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.0007399/0.3203, allocations: 454.7 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3204, allocations: 12.03 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3204, allocations: 8.844 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3206, allocations: 179.6 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3206, allocations: 4.312 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3206, allocations: 8.375 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3208, allocations: 73.91 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3208, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3209, allocations: 8 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3209, allocations: 3.984 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.321, allocations: 35.97 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.3216, allocations: 328.6 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.3218, allocations: 66.58 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.3219, allocations: 36.84 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3219, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3222, allocations: 87.36 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.3222, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000437/0.3226, allocations: 161.5 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3227, allocations: 59.34 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3229, allocations: 133.8 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3229, allocations: 25.7 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.323, allocations: 96.28 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.323, allocations: 19.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.3231, allocations: 29.7 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3232, allocations: 322.8 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.3233, allocations: 35.91 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.3234, allocations: 61.52 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.3236, allocations: 101.1 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3236, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000232/0.3239, allocations: 129.3 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3239, allocations: 15.92 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3239, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3239, allocations: 96 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3241, allocations: 24.03 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3241, allocations: 8 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3242, allocations: 15.94 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3242, allocations: 7.984 kB / 1.032 GB, free: 12.37 MB / 0.8106 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.0001227/0.3244, allocations: 133.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.3244, allocations: 7.906 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.3247, allocations: 142 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.3247, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3248, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3248, allocations: 7.938 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.3254, allocations: 426.4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3254, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.3255, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3255, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3255, allocations: 7.984 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3255, allocations: 4 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3255, allocations: 3.938 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3258, allocations: 231.5 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3259, allocations: 88.94 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3259, allocations: 8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.326, allocations: 7.984 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.3261, allocations: 11.92 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3261, allocations: 12 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.3262, allocations: 95.27 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3262, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003389/0.3265, allocations: 40 kB / 1.033 GB, free: 11.05 MB / 0.8106 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.0003748/0.3269, allocations: 171 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.3272, allocations: 79.84 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3272, allocations: 0 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3273, allocations: 47.97 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3276, allocations: 18.34 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.3281, allocations: 211.8 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3284, allocations: 0.6924 MB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.3285, allocations: 12.59 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.3285, allocations: 19.44 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3285, allocations: 0 / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of Templates: time 0.00508/0.3336, allocations: 1.785 MB / 1.036 GB, free: 7.984 MB / 0.8106 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 -s cvode -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/jenkins1/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