Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001832/0.001832, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002074/0.002074, allocations: 158.9 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.701/1.701, allocations: 177.2 MB / 203.4 MB, free: 8.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.647/2.647, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.91 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3276, allocations: 169.9 MB / 1.117 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003001/0.3307, allocations: 1.528 MB / 1.119 GB, free: 1.047 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3322, allocations: 0.7557 MB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.3323, allocations: 3.938 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.3323, allocations: 7.922 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.3324, allocations: 15.88 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.333, allocations: 139.6 kB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3331, allocations: 83.69 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.3332, allocations: 8.188 kB / 1.12 GB, free: 32 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3334, allocations: 39.94 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.3334, allocations: 35.73 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3335, allocations: 8 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.3337, allocations: 135.8 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.3338, allocations: 23.95 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.3338, allocations: 31.86 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3341, allocations: 147.5 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3341, allocations: 0 / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3341, allocations: 0 / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3341, allocations: 0 / 1.12 GB, free: 15.62 MB / 1.076 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.0006431/0.3348, allocations: 355.5 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3348, allocations: 12.02 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.3351, allocations: 28.88 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3353, allocations: 134.4 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3354, allocations: 4.375 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3354, allocations: 8.375 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.3356, allocations: 65.78 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3356, allocations: 0 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3356, allocations: 0 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3356, allocations: 7.938 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3357, allocations: 35.97 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.3363, allocations: 248.5 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.3364, allocations: 46.55 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.3365, allocations: 28.97 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3366, allocations: 4 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3367, allocations: 79.38 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3367, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004217/0.3372, allocations: 149.6 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3372, allocations: 51.41 kB / 1.122 GB, free: 14.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3373, allocations: 130 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3374, allocations: 25.7 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.3374, allocations: 88.14 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.3374, allocations: 27.77 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3375, allocations: 29.66 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3376, allocations: 326.8 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.3377, allocations: 19.98 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3378, allocations: 58.48 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.338, allocations: 70.55 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.338, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002496/0.3383, allocations: 113.5 kB / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3383, allocations: 10.44 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3383, allocations: 0 / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3383, allocations: 4.062 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.3384, allocations: 15.98 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3384, allocations: 0 / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.3385, allocations: 11.98 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.3385, allocations: 8 kB / 1.122 GB, free: 13.27 MB / 1.076 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 0.0001071/0.3386, allocations: 118.3 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.3386, allocations: 7.953 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.3386, allocations: 12.44 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3386, allocations: 0 / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3386, allocations: 3.938 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3386, allocations: 7.984 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.3391, allocations: 330 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3391, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.3392, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3392, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3392, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3392, allocations: 3.984 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3392, allocations: 0 / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.3395, allocations: 223.3 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.3395, allocations: 3.984 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3395, allocations: 4 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.3396, allocations: 7.984 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3397, allocations: 4 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3397, allocations: 15.86 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.3397, allocations: 92.64 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3397, allocations: 0 / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003121/0.3401, allocations: 35.94 kB / 1.123 GB, free: 12.35 MB / 1.076 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.0003803/0.3404, allocations: 164.9 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.3407, allocations: 71.88 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3407, allocations: 0 / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3408, allocations: 39.91 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.341, allocations: 11.98 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.3415, allocations: 184.8 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.547e-05/0.3415, allocations: 83.2 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.3416, allocations: 4 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.3416, allocations: 12.5 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.3416, allocations: 0 / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of Templates: time 0.004682/0.3463, allocations: 1.476 MB / 1.125 GB, free: 10.29 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 8.825357446912676]