Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001483/0.001483, allocations: 107.4 kB / 18.19 MB, free: 4.117 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.001578/0.001578, allocations: 193.9 kB / 21.34 MB, free: 0.9766 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.399/1.399, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 489.7 MB / 0.7761 GB, free: 2.461 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 1.127 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.944/0.9459, allocations: 172 MB / 1.295 GB, free: 38.89 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002253/0.9482, allocations: 1.537 MB / 1.296 GB, free: 37.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.9493, allocations: 0.7645 MB / 1.297 GB, free: 37.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.9493, allocations: 0 / 1.297 GB, free: 37.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.9493, allocations: 11.27 kB / 1.297 GB, free: 37.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.9494, allocations: 14.84 kB / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.9499, allocations: 125.6 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.95, allocations: 92.77 kB / 1.297 GB, free: 37.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.9501, allocations: 9 kB / 1.297 GB, free: 37.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.9502, allocations: 41.16 kB / 1.297 GB, free: 37.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.9503, allocations: 41.5 kB / 1.297 GB, free: 37.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.9503, allocations: 8.562 kB / 1.297 GB, free: 37.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.9504, allocations: 114.5 kB / 1.298 GB, free: 37.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.9505, allocations: 21.47 kB / 1.298 GB, free: 37.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.9505, allocations: 27.94 kB / 1.298 GB, free: 37.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.9507, allocations: 160.1 kB / 1.298 GB, free: 37.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9507, allocations: 0 / 1.298 GB, free: 37.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9507, allocations: 3.938 kB / 1.298 GB, free: 37.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.9507, allocations: 3.188 kB / 1.298 GB, free: 37.02 MB / 1.061 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.0006524/0.9514, allocations: 468.8 kB / 1.298 GB, free: 36.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.9514, allocations: 16.41 kB / 1.298 GB, free: 36.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.9514, allocations: 11.05 kB / 1.298 GB, free: 36.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.9515, allocations: 182.9 kB / 1.298 GB, free: 36.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.9516, allocations: 38.91 kB / 1.298 GB, free: 36.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.9516, allocations: 3.25 kB / 1.298 GB, free: 36.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.9518, allocations: 82.06 kB / 1.298 GB, free: 36.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.9518, allocations: 0 / 1.298 GB, free: 36.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.9518, allocations: 0 / 1.298 GB, free: 36.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.9518, allocations: 4 kB / 1.298 GB, free: 36.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.952, allocations: 53.25 kB / 1.299 GB, free: 36.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.9525, allocations: 320 kB / 1.299 GB, free: 35.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.9527, allocations: 67.34 kB / 1.299 GB, free: 35.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.3e-05/0.9527, allocations: 36.95 kB / 1.299 GB, free: 35.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.9528, allocations: 8.078 kB / 1.299 GB, free: 35.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.953, allocations: 98.33 kB / 1.299 GB, free: 35.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.953, allocations: 0 / 1.299 GB, free: 35.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004354/0.9534, allocations: 171.5 kB / 1.299 GB, free: 35.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.9535, allocations: 53.97 kB / 1.299 GB, free: 35.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.9535, allocations: 133.1 kB / 1.299 GB, free: 35.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.9535, allocations: 32.61 kB / 1.299 GB, free: 35.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.9536, allocations: 90.02 kB / 1.299 GB, free: 35.44 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.9536, allocations: 22.67 kB / 1.3 GB, free: 35.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.9536, allocations: 36.69 kB / 1.3 GB, free: 35.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.9537, allocations: 333.2 kB / 1.3 GB, free: 35.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.9538, allocations: 26 kB / 1.3 GB, free: 35.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.9539, allocations: 73.02 kB / 1.3 GB, free: 35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.9541, allocations: 108 kB / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9541, allocations: 0 / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002482/0.9543, allocations: 145.1 kB / 1.3 GB, free: 34.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9543, allocations: 5.938 kB / 1.3 GB, free: 34.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9543, allocations: 0 / 1.3 GB, free: 34.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.9544, allocations: 2.875 kB / 1.3 GB, free: 34.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.9545, allocations: 18.67 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9545, allocations: 5.906 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.9546, allocations: 15.12 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.9546, allocations: 2.656 kB / 1.3 GB, free: 34.84 MB / 1.061 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 6.544e-05/0.9547, allocations: 131 kB / 1.3 GB, free: 34.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.9547, allocations: 6.703 kB / 1.3 GB, free: 34.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.9547, allocations: 14.53 kB / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9547, allocations: 2.719 kB / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.9547, allocations: 0 / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.9547, allocations: 0 / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.9552, allocations: 438.4 kB / 1.301 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9552, allocations: 4 kB / 1.301 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.9553, allocations: 9.219 kB / 1.301 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.9553, allocations: 0 / 1.301 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.9553, allocations: 6.141 kB / 1.301 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9553, allocations: 3.938 kB / 1.301 GB, free: 34.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9553, allocations: 3.938 kB / 1.301 GB, free: 34.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.9556, allocations: 230.8 kB / 1.301 GB, free: 34.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.9556, allocations: 83.81 kB / 1.301 GB, free: 34.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.9556, allocations: 4.188 kB / 1.301 GB, free: 34.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.9558, allocations: 15.09 kB / 1.301 GB, free: 34.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.9558, allocations: 13.2 kB / 1.301 GB, free: 34.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.9558, allocations: 7.219 kB / 1.301 GB, free: 34.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.9559, allocations: 100.5 kB / 1.301 GB, free: 33.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9559, allocations: 0 / 1.301 GB, free: 33.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002946/0.9562, allocations: 43.16 kB / 1.301 GB, free: 33.96 MB / 1.061 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 (10): * Single equations (assignments): 7 * 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.0003134/0.9565, allocations: 168.5 kB / 1.301 GB, free: 33.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.9568, allocations: 94.25 kB / 1.302 GB, free: 33.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9568, allocations: 0 / 1.302 GB, free: 33.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.9569, allocations: 44.75 kB / 1.302 GB, free: 33.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.9572, allocations: 13.11 kB / 1.302 GB, free: 33.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.9576, allocations: 248.4 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.9577, allocations: 0.6964 MB / 1.303 GB, free: 32.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.9577, allocations: 16.62 kB / 1.303 GB, free: 32.9 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.9577, allocations: 0 / 1.303 GB, free: 32.9 MB / 1.061 GB Notification: Performance of Templates: time 0.003285/0.961, allocations: 1.864 MB / 1.304 GB, free: 32.72 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches