Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008223/0.0008223, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.612/1.612, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9517 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.048e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001795/0.001816, allocations: 1.552 MB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002858, allocations: 0.8182 MB / 0.954 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.002923, allocations: 4 kB / 0.954 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.002953, allocations: 11.81 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.003037, allocations: 19.84 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.003578, allocations: 159.3 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.003696, allocations: 99.64 kB / 0.9543 GB, free: 380 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.003784, allocations: 7.984 kB / 0.9543 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.003945, allocations: 83.67 kB / 0.9544 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.00401, allocations: 27.95 kB / 0.9544 GB, free: 260 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.004027, allocations: 12 kB / 0.9544 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.004224, allocations: 139.7 kB / 0.9545 GB, free: 108 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.004249, allocations: 23.91 kB / 0.9546 GB, free: 84 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.004288, allocations: 35.89 kB / 0.9546 GB, free: 48 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.004535, allocations: 195.4 kB / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004537, allocations: 0 / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004538, allocations: 0 / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004542, allocations: 4 kB / 0.9548 GB, free: 15.85 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005454/0.005088, allocations: 434.8 kB / 0.9552 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.005119, allocations: 12.03 kB / 0.9552 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.005291, allocations: 40.81 kB / 0.9553 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.005462, allocations: 144 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.005475, allocations: 4.375 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.00549, allocations: 8.312 kB / 0.9554 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.005632, allocations: 82.2 kB / 0.9555 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.005641, allocations: 3.938 kB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.005651, allocations: 0 / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005656, allocations: 0 / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.314e-05/0.005749, allocations: 51.95 kB / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.006149, allocations: 264.4 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.006297, allocations: 78.59 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.006346, allocations: 32.84 kB / 0.9559 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.006368, allocations: 7.984 kB / 0.9559 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.006692, allocations: 111.3 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.006693, allocations: 4 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002886/0.006982, allocations: 173.6 kB / 0.9562 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.007015, allocations: 59.34 kB / 0.9562 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.0071, allocations: 140.6 kB / 0.9564 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.007115, allocations: 33.64 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.00716, allocations: 104.1 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.007183, allocations: 27.78 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.007221, allocations: 37.7 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.007297, allocations: 326.8 kB / 0.9569 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.007342, allocations: 31.98 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.007411, allocations: 73.06 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.007521, allocations: 101.1 kB / 0.9571 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.007524, allocations: 3.984 kB / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001532/0.007677, allocations: 137.4 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.007695, allocations: 14.59 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007699, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.007711, allocations: 4 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.007773, allocations: 19.92 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.007779, allocations: 0 / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.007826, allocations: 15.98 kB / 0.9573 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.007835, allocations: 4 kB / 0.9573 GB, free: 13.1 MB / 0.9167 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.07e-05/0.007906, allocations: 121.8 kB / 0.9574 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.007921, allocations: 15.91 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.008159, allocations: 183.4 kB / 0.9576 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.008161, allocations: 4 kB / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008165, allocations: 0 / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008169, allocations: 0 / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.008518, allocations: 396.4 kB / 0.9579 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.00852, allocations: 3.984 kB / 0.9579 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.008555, allocations: 8 kB / 0.958 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.008559, allocations: 7.984 kB / 0.958 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.008569, allocations: 11.98 kB / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008571, allocations: 0 / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008572, allocations: 0 / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.008767, allocations: 255.3 kB / 0.9582 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.008778, allocations: 11.91 kB / 0.9582 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008794, allocations: 0 / 0.9582 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.008848, allocations: 11.98 kB / 0.9582 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.008887, allocations: 11.92 kB / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.008905, allocations: 15.92 kB / 0.9583 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.008951, allocations: 107.3 kB / 0.9584 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008951, allocations: 4 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002197/0.009171, allocations: 47.86 kB / 0.9584 GB, free: 11.84 MB / 0.9167 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0002669/0.009437, allocations: 173.1 kB / 0.9586 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.009617, allocations: 91.89 kB / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009618, allocations: 4.188 kB / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.009689, allocations: 51.91 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.009893, allocations: 22.03 kB / 0.9587 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.01025, allocations: 262.8 kB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.465e-05/0.0103, allocations: 92.31 kB / 0.9591 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.01034, allocations: 20.48 kB / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.01034, allocations: 0 / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.002637/0.01297, allocations: 2.083 MB / 0.9611 GB, free: 9.012 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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: 6.64475853741169]