Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 101.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 250 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 443.5 MB / 0.731 GB, free: 12.71 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.88 kB / 1.06 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8038, allocations: 160.7 MB / 1.217 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002735/0.8065, allocations: 1.554 MB / 1.218 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.808, allocations: 0.772 MB / 1.219 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.808, allocations: 0 / 1.219 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.8081, allocations: 12.95 kB / 1.219 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.8082, allocations: 18.19 kB / 1.219 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.8087, allocations: 128.5 kB / 1.219 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.8089, allocations: 106.8 kB / 1.219 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.8089, allocations: 9.562 kB / 1.219 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.8091, allocations: 44.56 kB / 1.219 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.8091, allocations: 54.25 kB / 1.219 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.8092, allocations: 7.906 kB / 1.219 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.8094, allocations: 100.5 kB / 1.219 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.8094, allocations: 27.72 kB / 1.219 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.8095, allocations: 47 kB / 1.219 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.8097, allocations: 159.4 kB / 1.219 GB, free: 1.742 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8097, allocations: 0 / 1.219 GB, free: 1.742 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8097, allocations: 3.938 kB / 1.219 GB, free: 1.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.8098, allocations: 1.062 kB / 1.219 GB, free: 1.738 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008377/0.8106, allocations: 0.5096 MB / 1.22 GB, free: 1.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.8106, allocations: 8.938 kB / 1.22 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.8107, allocations: 14.56 kB / 1.22 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.8108, allocations: 182.5 kB / 1.22 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.8109, allocations: 6.656 kB / 1.22 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.8109, allocations: 8.688 kB / 1.22 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.8111, allocations: 87.55 kB / 1.22 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.8111, allocations: 1.094 kB / 1.22 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.8111, allocations: 8 kB / 1.22 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8111, allocations: 1.094 kB / 1.22 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.8113, allocations: 50.42 kB / 1.22 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.8118, allocations: 325.7 kB / 1.221 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.8121, allocations: 89.25 kB / 1.221 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.8122, allocations: 32.94 kB / 1.221 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.8122, allocations: 5.047 kB / 1.221 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.8124, allocations: 102 kB / 1.221 GB, free: 384 kB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.8124, allocations: 0 / 1.221 GB, free: 384 kB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004537/0.8129, allocations: 179.6 kB / 1.221 GB, free: 280 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.8129, allocations: 57.34 kB / 1.221 GB, free: 212 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.8131, allocations: 140 kB / 1.221 GB, free: 88 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.8131, allocations: 26.8 kB / 1.221 GB, free: 56 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.8132, allocations: 99.97 kB / 1.221 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.8132, allocations: 28.03 kB / 1.221 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.8132, allocations: 35.25 kB / 1.221 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8134, allocations: 325.2 kB / 1.222 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.8135, allocations: 32.17 kB / 1.222 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.8136, allocations: 65.89 kB / 1.222 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.8138, allocations: 111.1 kB / 1.222 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8138, allocations: 1.094 kB / 1.222 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002691/0.8141, allocations: 134.6 kB / 1.222 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8141, allocations: 9.922 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8141, allocations: 1.906 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8141, allocations: 2.188 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.8142, allocations: 15.83 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.8142, allocations: 2.094 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.8143, allocations: 26.91 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.8143, allocations: 5.188 kB / 1.222 GB, free: 15.3 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,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 0.0001185/0.8145, allocations: 127.7 kB / 1.222 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.8145, allocations: 9.234 kB / 1.222 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.8149, allocations: 164.3 kB / 1.222 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8149, allocations: 6.156 kB / 1.222 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8149, allocations: 4 kB / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8149, allocations: 1.281 kB / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.8155, allocations: 456 kB / 1.223 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8155, allocations: 5.062 kB / 1.223 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.8156, allocations: 18.42 kB / 1.223 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8156, allocations: 5.062 kB / 1.223 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.8156, allocations: 9.109 kB / 1.223 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8156, allocations: 1.312 kB / 1.223 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8156, allocations: 7.938 kB / 1.223 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.816, allocations: 248.7 kB / 1.223 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.816, allocations: 88.19 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.8161, allocations: 6.094 kB / 1.223 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8162, allocations: 9.141 kB / 1.223 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.8162, allocations: 17.39 kB / 1.223 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.8163, allocations: 12.45 kB / 1.223 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.8164, allocations: 113.6 kB / 1.223 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8164, allocations: 0 / 1.223 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003216/0.8167, allocations: 45.83 kB / 1.223 GB, free: 14.2 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 (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.0003639/0.817, allocations: 168.7 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.8173, allocations: 97 kB / 1.224 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8173, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.8174, allocations: 45.7 kB / 1.224 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.8177, allocations: 23.7 kB / 1.224 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.8183, allocations: 264 kB / 1.224 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.8186, allocations: 0.7048 MB / 1.225 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.8186, allocations: 15.06 kB / 1.225 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.8186, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.00401/0.8227, allocations: 2.01 MB / 1.227 GB, free: 12.04 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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