Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001358/0.001358, allocations: 104.2 kB / 18.19 MB, free: 4.016 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.00134/0.00134, allocations: 188.4 kB / 21.34 MB, free: 0.875 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.391/1.391, allocations: 225.6 MB / 249.9 MB, free: 3.223 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.712/2.712, allocations: 489.7 MB / 0.7761 GB, free: 2.504 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 1.127 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8787, allocations: 172.1 MB / 1.295 GB, free: 38.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002078/0.8808, allocations: 1.515 MB / 1.296 GB, free: 37.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000964/0.8818, allocations: 0.7318 MB / 1.297 GB, free: 37.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.8818, allocations: 0 / 1.297 GB, free: 37.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.8818, allocations: 7.125 kB / 1.297 GB, free: 37.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.8819, allocations: 14.44 kB / 1.297 GB, free: 37.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.8823, allocations: 118.9 kB / 1.297 GB, free: 37.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.155e-05/0.8824, allocations: 80.81 kB / 1.297 GB, free: 36.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/0.8825, allocations: 2.844 kB / 1.297 GB, free: 36.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.8826, allocations: 45.03 kB / 1.297 GB, free: 36.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.8826, allocations: 40.62 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.8826, allocations: 5.219 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.8828, allocations: 102.9 kB / 1.297 GB, free: 36.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.8828, allocations: 10.19 kB / 1.297 GB, free: 36.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.8829, allocations: 39.59 kB / 1.297 GB, free: 36.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.8831, allocations: 149.9 kB / 1.298 GB, free: 36.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.8831, allocations: 0 / 1.298 GB, free: 36.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8831, allocations: 0 / 1.298 GB, free: 36.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.8831, allocations: 0 / 1.298 GB, free: 36.84 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.0004909/0.8836, allocations: 421.1 kB / 1.298 GB, free: 36.42 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.8836, allocations: 11.59 kB / 1.298 GB, free: 36.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.8836, allocations: 7.828 kB / 1.298 GB, free: 36.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.433e-05/0.8837, allocations: 174.5 kB / 1.298 GB, free: 36.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.8837, allocations: 11.17 kB / 1.298 GB, free: 36.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.8838, allocations: 3.344 kB / 1.298 GB, free: 36.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.8839, allocations: 74.69 kB / 1.298 GB, free: 36.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8839, allocations: 0 / 1.298 GB, free: 36.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.8839, allocations: 6.266 kB / 1.298 GB, free: 36.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.8839, allocations: 0 / 1.298 GB, free: 36.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.884, allocations: 34.73 kB / 1.298 GB, free: 36.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.8845, allocations: 322.7 kB / 1.299 GB, free: 35.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.8846, allocations: 47.7 kB / 1.299 GB, free: 35.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.8847, allocations: 26.97 kB / 1.299 GB, free: 35.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.8847, allocations: 0 / 1.299 GB, free: 35.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.8849, allocations: 90.23 kB / 1.299 GB, free: 35.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.8849, allocations: 0 / 1.299 GB, free: 35.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.000329/0.8852, allocations: 135.9 kB / 1.299 GB, free: 35.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.8852, allocations: 61.66 kB / 1.299 GB, free: 35.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.28e-05/0.8853, allocations: 115.4 kB / 1.299 GB, free: 35.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.8853, allocations: 25.7 kB / 1.299 GB, free: 35.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.8853, allocations: 98.36 kB / 1.299 GB, free: 35.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.8853, allocations: 14.88 kB / 1.299 GB, free: 35.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.8854, allocations: 29.22 kB / 1.299 GB, free: 35.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.8854, allocations: 325.2 kB / 1.3 GB, free: 35.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.8855, allocations: 24.02 kB / 1.3 GB, free: 35.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.8856, allocations: 47.22 kB / 1.3 GB, free: 34.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.8857, allocations: 85.19 kB / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8857, allocations: 0 / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001905/0.8859, allocations: 116 kB / 1.3 GB, free: 34.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8859, allocations: 5.938 kB / 1.3 GB, free: 34.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8859, allocations: 0 / 1.3 GB, free: 34.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8859, allocations: 0 / 1.3 GB, free: 34.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.886, allocations: 16 kB / 1.3 GB, free: 34.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.886, allocations: 2.781 kB / 1.3 GB, free: 34.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.8861, allocations: 10.91 kB / 1.3 GB, free: 34.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.8861, allocations: 6.172 kB / 1.3 GB, free: 34.85 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 5.725e-05/0.8861, allocations: 123.3 kB / 1.3 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.8862, allocations: 6.766 kB / 1.3 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.8862, allocations: 11.25 kB / 1.3 GB, free: 34.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8862, allocations: 3.938 kB / 1.3 GB, free: 34.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8862, allocations: 4 kB / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8862, allocations: 3.234 kB / 1.3 GB, free: 34.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.8865, allocations: 377.2 kB / 1.3 GB, free: 34.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8865, allocations: 0 / 1.3 GB, free: 34.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.8866, allocations: 14.19 kB / 1.3 GB, free: 34.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8866, allocations: 2.844 kB / 1.3 GB, free: 34.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.8866, allocations: 0 / 1.3 GB, free: 34.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8866, allocations: 0 / 1.3 GB, free: 34.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8866, allocations: 7.938 kB / 1.3 GB, free: 34.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.8868, allocations: 205.1 kB / 1.301 GB, free: 34.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.8868, allocations: 87.06 kB / 1.301 GB, free: 34.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8868, allocations: 4 kB / 1.301 GB, free: 34.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.8869, allocations: 2.844 kB / 1.301 GB, free: 34.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.8869, allocations: 10.09 kB / 1.301 GB, free: 34.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.8869, allocations: 2.844 kB / 1.301 GB, free: 34.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.887, allocations: 99.91 kB / 1.301 GB, free: 34.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.887, allocations: 0 / 1.301 GB, free: 34.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002774/0.8873, allocations: 39.05 kB / 1.301 GB, free: 34 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.0002994/0.8876, allocations: 164.6 kB / 1.301 GB, free: 33.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.8878, allocations: 66 kB / 1.301 GB, free: 33.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8878, allocations: 0 / 1.301 GB, free: 33.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.8879, allocations: 44.19 kB / 1.301 GB, free: 33.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.8881, allocations: 9.453 kB / 1.301 GB, free: 33.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.8884, allocations: 207.5 kB / 1.301 GB, free: 33.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.8885, allocations: 0.6905 MB / 1.302 GB, free: 32.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.8886, allocations: 16.47 kB / 1.302 GB, free: 32.97 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.8886, allocations: 0 / 1.302 GB, free: 32.97 MB / 1.061 GB Notification: Performance of Templates: time 0.003081/0.8916, allocations: 1.625 MB / 1.304 GB, free: 32.8 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches