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.001315/0.001315, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001475/0.001475, allocations: 165 kB / 23.82 MB, free: 0.75 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.9996/0.9996, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.857/1.857, allocations: 359 MB / 0.6052 GB, free: 11 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.974e-06/1.974e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.353e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002838/0.002862, allocations: 1.593 MB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.004353, allocations: 0.8386 MB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.004425, allocations: 0.9062 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.004466, allocations: 7.875 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.004577, allocations: 20.45 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.005245, allocations: 164.5 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.005401, allocations: 103.6 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.005501, allocations: 13.61 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.005683, allocations: 67.81 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.005765, allocations: 35.88 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.00579, allocations: 8 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.006071, allocations: 141 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.006105, allocations: 27.89 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.006159, allocations: 27.92 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.00646, allocations: 175.3 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006462, allocations: 0.6875 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006463, allocations: 1.594 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.006469, allocations: 3.938 kB / 0.7902 GB, free: 9.301 MB / 0.7448 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.0007295/0.007198, allocations: 0.5361 MB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.007243, allocations: 8.812 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.007508, allocations: 40.27 kB / 0.7908 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.007703, allocations: 137 kB / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.007727, allocations: 8.375 kB / 0.7909 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.007745, allocations: 4.375 kB / 0.7909 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.007921, allocations: 82.84 kB / 0.791 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.007935, allocations: 3.938 kB / 0.791 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.00795, allocations: 4 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.007961, allocations: 3.984 kB / 0.791 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.00805, allocations: 23.97 kB / 0.791 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.008535, allocations: 314.1 kB / 0.7913 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.008711, allocations: 67.12 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.00877, allocations: 31.66 kB / 0.7914 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.008796, allocations: 5.406 kB / 0.7914 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.008942, allocations: 85.02 kB / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.008943, allocations: 0 / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003376/0.009281, allocations: 141.4 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.009324, allocations: 63.92 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.00945, allocations: 200.9 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.009476, allocations: 33.7 kB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.009541, allocations: 138.9 kB / 0.7921 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.00957, allocations: 27.8 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.009626, allocations: 44.69 kB / 0.7921 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.009763, allocations: 0.4961 MB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.009803, allocations: 8 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.009878, allocations: 78.69 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.01001, allocations: 99.45 kB / 0.7928 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01001, allocations: 0 / 0.7928 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001898/0.0102, allocations: 114.6 kB / 0.7929 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01022, allocations: 4 kB / 0.7929 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.01022, allocations: 8.469 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.01024, allocations: 0.5312 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01035, allocations: 24.88 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01036, allocations: 3.938 kB / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.01043, allocations: 19.89 kB / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01044, allocations: 4.781 kB / 0.793 GB, free: 6.211 MB / 0.7448 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 9.698e-05/0.01054, allocations: 171.2 kB / 0.7931 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.01057, allocations: 21.31 kB / 0.7932 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.01086, allocations: 142.3 kB / 0.7933 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.01086, allocations: 4 kB / 0.7933 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01087, allocations: 1.156 kB / 0.7933 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.01087, allocations: 0 / 0.7933 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.01132, allocations: 417.2 kB / 0.7937 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01132, allocations: 0.8125 kB / 0.7937 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.01137, allocations: 15.98 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.01138, allocations: 0.5625 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01139, allocations: 0.8125 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01139, allocations: 4 kB / 0.7937 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01139, allocations: 0 / 0.7937 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.01163, allocations: 280.7 kB / 0.794 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.01165, allocations: 15.84 kB / 0.794 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.01167, allocations: 5.281 kB / 0.794 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.01175, allocations: 15.94 kB / 0.794 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.01181, allocations: 15.97 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.01183, allocations: 8.906 kB / 0.794 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.0119, allocations: 145.2 kB / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0119, allocations: 0 / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003495/0.01225, allocations: 46.25 kB / 0.7942 GB, free: 4.867 MB / 0.7448 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.0003572/0.01261, allocations: 176.5 kB / 0.7944 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.01279, allocations: 75.58 kB / 0.7945 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01279, allocations: 0 / 0.7945 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.01288, allocations: 48.59 kB / 0.7945 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.01321, allocations: 23.92 kB / 0.7945 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.01388, allocations: 243.3 kB / 0.7948 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.01393, allocations: 63.84 kB / 0.7948 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.842e-05/0.01397, allocations: 17.59 kB / 0.7948 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.01402, allocations: 17.84 kB / 0.7949 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.01402, allocations: 0 / 0.7949 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.005054/0.01908, allocations: 2.101 MB / 0.7969 GB, free: 2.121 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.222366202156991]