Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 106.7 kB / 16.36 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 62.25 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3216, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00291/0.3246, allocations: 1.501 MB / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3259, allocations: 0.7245 MB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.3259, allocations: 3.938 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.326, allocations: 3.938 kB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.326, allocations: 15.86 kB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.3266, allocations: 127.6 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3267, allocations: 75.77 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3268, allocations: 8 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.3269, allocations: 35.91 kB / 0.9536 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.327, allocations: 39.83 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.327, allocations: 4 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.3272, allocations: 99.84 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.3273, allocations: 19.97 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.3273, allocations: 39.8 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3276, allocations: 143.5 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3276, allocations: 0 / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3276, allocations: 0 / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3276, allocations: 0 / 0.9539 GB, free: 5.23 MB / 0.7325 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.0006656/0.3283, allocations: 416.9 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3283, allocations: 12.03 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.3284, allocations: 4.844 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3285, allocations: 168.3 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.3286, allocations: 8.375 kB / 0.9545 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3286, allocations: 8.375 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3288, allocations: 69.97 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3288, allocations: 3.984 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3288, allocations: 3.938 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3288, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.329, allocations: 39.91 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.3296, allocations: 320.7 kB / 0.9549 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3297, allocations: 50.56 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.3298, allocations: 36.97 kB / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3298, allocations: 0 / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.33, allocations: 79.31 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.33, allocations: 0 / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003995/0.3304, allocations: 141.6 kB / 0.9552 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3305, allocations: 63.33 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.3306, allocations: 113.8 kB / 0.9554 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3306, allocations: 29.7 kB / 0.9554 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.3307, allocations: 96.12 kB / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.3307, allocations: 15.75 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.3308, allocations: 29.7 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3309, allocations: 322.8 kB / 0.9558 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.331, allocations: 31.91 kB / 0.9559 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-05/0.3311, allocations: 46.56 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3312, allocations: 70.55 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3312, allocations: 4 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002237/0.3315, allocations: 105.5 kB / 0.9561 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3315, allocations: 8 kB / 0.9561 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3315, allocations: 0 / 0.9561 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3315, allocations: 8 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.3316, allocations: 15.98 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3316, allocations: 4 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.3317, allocations: 7.906 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3317, allocations: 4.391 kB / 0.9561 GB, free: 2.691 MB / 0.7325 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 9.687e-05/0.3318, allocations: 117.8 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.3318, allocations: 7.984 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.3319, allocations: 12.36 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3319, allocations: 4 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3319, allocations: 4 kB / 0.9563 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3319, allocations: 0 / 0.9563 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3324, allocations: 402.2 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3324, allocations: 0 / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.3324, allocations: 4 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3324, allocations: 0 / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3324, allocations: 3.984 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3325, allocations: 0 / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3325, allocations: 7.938 kB / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3327, allocations: 211.4 kB / 0.9569 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.3328, allocations: 85.02 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3328, allocations: 3.984 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.3329, allocations: 4 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.333, allocations: 11.92 kB / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.333, allocations: 4 kB / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.333, allocations: 95.92 kB / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.333, allocations: 0 / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002978/0.3333, allocations: 36 kB / 0.9571 GB, free: 1.594 MB / 0.7325 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.0003285/0.3337, allocations: 156.7 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3339, allocations: 75.89 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3339, allocations: 4 kB / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.334, allocations: 35.92 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3343, allocations: 3.984 kB / 0.9573 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.3347, allocations: 184.3 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.335, allocations: 0.7001 MB / 0.9582 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.335, allocations: 7.938 kB / 0.9582 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.3351, allocations: 11.44 kB / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3351, allocations: 0 / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of Templates: time 0.004205/0.3393, allocations: 1.459 MB / 0.9597 GB, free: 14.91 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,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