Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001742/0.001742, 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.002105/0.002105, 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.386/1.386, allocations: 225.6 MB / 249.9 MB, free: 3.25 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.737/2.737, allocations: 489.7 MB / 0.7761 GB, free: 2.457 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.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=551,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=551,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.88 kB / 1.127 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8593, allocations: 172 MB / 1.295 GB, free: 38.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002404/0.8617, allocations: 1.513 MB / 1.296 GB, free: 37.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.8627, allocations: 0.7376 MB / 1.297 GB, free: 37.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.8628, allocations: 6.781 kB / 1.297 GB, free: 37.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.8628, allocations: 3.938 kB / 1.297 GB, free: 37.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.8629, allocations: 7.875 kB / 1.297 GB, free: 37.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.8633, allocations: 118.3 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.8635, allocations: 82.86 kB / 1.297 GB, free: 36.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.8635, allocations: 8.938 kB / 1.297 GB, free: 36.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.8636, allocations: 35.17 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.8637, allocations: 45.67 kB / 1.297 GB, free: 36.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.8637, allocations: 10.5 kB / 1.297 GB, free: 36.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.8639, allocations: 98.52 kB / 1.297 GB, free: 36.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.8639, allocations: 10.47 kB / 1.297 GB, free: 36.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.8639, allocations: 44.7 kB / 1.297 GB, free: 36.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.8641, allocations: 141.3 kB / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8641, allocations: 0 / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8641, allocations: 0 / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.8641, allocations: 0 / 1.298 GB, free: 36.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005225/0.8646, allocations: 424 kB / 1.298 GB, free: 36.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.8647, allocations: 11.44 kB / 1.298 GB, free: 36.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.8647, allocations: 11 kB / 1.298 GB, free: 36.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.194e-05/0.8648, allocations: 171.2 kB / 1.298 GB, free: 36.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.8648, allocations: 7.219 kB / 1.298 GB, free: 36.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.8648, allocations: 6 kB / 1.298 GB, free: 36.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.865, allocations: 72.73 kB / 1.298 GB, free: 36.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.865, allocations: 3.984 kB / 1.298 GB, free: 36.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.865, allocations: 0 / 1.298 GB, free: 36.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.865, allocations: 3.031 kB / 1.298 GB, free: 36.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.8651, allocations: 38.22 kB / 1.298 GB, free: 36.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.8656, allocations: 325.7 kB / 1.299 GB, free: 35.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.8657, allocations: 47.16 kB / 1.299 GB, free: 35.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.72e-05/0.8658, allocations: 28.5 kB / 1.299 GB, free: 35.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.8658, allocations: 6.812 kB / 1.299 GB, free: 35.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.866, allocations: 74.78 kB / 1.299 GB, free: 35.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.866, allocations: 0 / 1.299 GB, free: 35.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003419/0.8663, allocations: 142.2 kB / 1.299 GB, free: 35.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.8663, allocations: 58.75 kB / 1.299 GB, free: 35.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.8664, allocations: 120.4 kB / 1.299 GB, free: 35.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.8664, allocations: 32.25 kB / 1.299 GB, free: 35.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.8665, allocations: 95.06 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.8665, allocations: 7.906 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.8665, allocations: 30.31 kB / 1.299 GB, free: 35.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.8666, allocations: 325.3 kB / 1.3 GB, free: 34.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.8666, allocations: 29.94 kB / 1.3 GB, free: 34.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.8667, allocations: 50.83 kB / 1.3 GB, free: 34.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.8669, allocations: 73.06 kB / 1.3 GB, free: 34.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8669, allocations: 0 / 1.3 GB, free: 34.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001938/0.867, allocations: 115.2 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8671, allocations: 9.344 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8671, allocations: 0 / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8671, allocations: 2.906 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.8672, allocations: 16.16 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.8672, allocations: 0 / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.8672, allocations: 11.31 kB / 1.3 GB, free: 34.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.8672, allocations: 2.781 kB / 1.3 GB, free: 34.83 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.658e-05/0.8673, allocations: 127.2 kB / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.8673, allocations: 7.203 kB / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.8674, allocations: 12.31 kB / 1.3 GB, free: 34.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8674, allocations: 3.031 kB / 1.3 GB, free: 34.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8674, allocations: 0 / 1.3 GB, free: 34.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8674, allocations: 0 / 1.3 GB, free: 34.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.8677, allocations: 381.1 kB / 1.3 GB, free: 34.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8677, allocations: 2.75 kB / 1.3 GB, free: 34.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.8677, allocations: 10.31 kB / 1.3 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8677, allocations: 0 / 1.3 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.8677, allocations: 0 / 1.3 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8677, allocations: 2.656 kB / 1.3 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8677, allocations: 3.938 kB / 1.3 GB, free: 34.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.868, allocations: 210.6 kB / 1.301 GB, free: 34.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.868, allocations: 86.95 kB / 1.301 GB, free: 34.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.868, allocations: 4 kB / 1.301 GB, free: 34.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.8681, allocations: 6.781 kB / 1.301 GB, free: 34.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.8681, allocations: 10.34 kB / 1.301 GB, free: 34.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8681, allocations: 2.812 kB / 1.301 GB, free: 34.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.8682, allocations: 93.64 kB / 1.301 GB, free: 33.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8682, allocations: 0 / 1.301 GB, free: 33.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002738/0.8684, allocations: 37.92 kB / 1.301 GB, free: 33.98 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003187/0.8687, allocations: 173.7 kB / 1.301 GB, free: 33.87 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.869, allocations: 69.95 kB / 1.301 GB, free: 33.85 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.869, allocations: 3.938 kB / 1.301 GB, free: 33.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.8691, allocations: 33.02 kB / 1.301 GB, free: 33.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.8693, allocations: 9.188 kB / 1.301 GB, free: 33.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.8696, allocations: 213.9 kB / 1.301 GB, free: 33.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.978e-05/0.8697, allocations: 0.6868 MB / 1.302 GB, free: 32.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.8698, allocations: 13.44 kB / 1.302 GB, free: 32.95 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.8698, allocations: 0 / 1.302 GB, free: 32.95 MB / 1.061 GB Notification: Performance of Templates: time 0.003014/0.8728, allocations: 1.635 MB / 1.304 GB, free: 32.78 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches