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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002478/0.002478, allocations: 186.6 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.004342/1.062, allocations: 1.54 MB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002253/1.065, allocations: 0.7706 MB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/1.065, allocations: 5.219 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/1.065, allocations: 11.86 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/1.065, allocations: 18.39 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/1.066, allocations: 131.4 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/1.066, allocations: 82.02 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/1.066, allocations: 4.219 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/1.066, allocations: 56.23 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/1.066, allocations: 35.66 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/1.066, allocations: 10.12 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/1.067, allocations: 134 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/1.067, allocations: 14.92 kB / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/1.067, allocations: 37.73 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/1.067, allocations: 151.1 kB / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.067, allocations: 0 / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.265e-06/1.067, allocations: 1 kB / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.068, allocations: 0 / 1.221 GB, free: 1.426 MB / 0.92 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.001162/1.069, allocations: 473.1 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.069, allocations: 9.844 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/1.069, allocations: 12.89 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/1.069, allocations: 180.6 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/1.069, allocations: 7.5 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/1.069, allocations: 4.594 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/1.069, allocations: 76.98 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.069, allocations: 0 / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/1.069, allocations: 1.125 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/1.069, allocations: 0.7812 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/1.07, allocations: 50.34 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008027/1.07, allocations: 313.2 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/1.071, allocations: 57.61 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/1.071, allocations: 29.84 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/1.071, allocations: 5.25 kB / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/1.071, allocations: 96.72 kB / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 7.694e-06/1.071, allocations: 3.984 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006833/1.072, allocations: 159 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/1.072, allocations: 53.78 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/1.072, allocations: 137.2 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/1.072, allocations: 35.48 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/1.072, allocations: 86.56 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/1.072, allocations: 27.72 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/1.072, allocations: 32.27 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.073, allocations: 325.5 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/1.073, allocations: 25.86 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/1.073, allocations: 68.73 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/1.073, allocations: 97.28 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.073, allocations: 7.938 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004446/1.074, allocations: 132.4 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.074, allocations: 5.344 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.074, allocations: 1.062 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.074, allocations: 6.938 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/1.074, allocations: 14.64 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.074, allocations: 5.938 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/1.074, allocations: 18.06 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.074, allocations: 8.938 kB / 1.224 GB, free: 15.1 MB / 0.9356 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.0001625/1.074, allocations: 128.1 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/1.074, allocations: 7.359 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/1.075, allocations: 146.2 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.075, allocations: 1.375 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.075, allocations: 1.312 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/1.075, allocations: 7.984 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/1.076, allocations: 437.9 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.076, allocations: 1.156 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.076, allocations: 11.33 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.076, allocations: 0.8125 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/1.076, allocations: 1.781 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.076, allocations: 0 / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.076, allocations: 5.031 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/1.077, allocations: 232.6 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/1.077, allocations: 83.31 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/1.077, allocations: 1.062 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.077, allocations: 12.45 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/1.077, allocations: 16.3 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/1.077, allocations: 7.359 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001155/1.077, allocations: 101.3 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.077, allocations: 4 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005821/1.078, allocations: 43.69 kB / 1.225 GB, free: 14.05 MB / 0.9356 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.000577/1.078, allocations: 166.2 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004101/1.079, allocations: 87.95 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.079, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/1.079, allocations: 45.36 kB / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/1.079, allocations: 16.06 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/1.08, allocations: 208.1 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/1.081, allocations: 0.7011 MB / 1.226 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.106e-05/1.081, allocations: 5.906 kB / 1.226 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/1.081, allocations: 17.05 kB / 1.226 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.081, allocations: 0.9375 kB / 1.226 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of Templates: time 0.009506/1.09, allocations: 1.863 MB / 1.228 GB, free: 12.02 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.984665350988507]