Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0008603/0.0008605, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00546/0.00546, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.641/1.641, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.049/3.049, allocations: 470.6 MB / 0.7442 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 15.53 kB / 0.9123 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3776, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002026/0.3796, allocations: 1.23 MB / 1.071 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.381, allocations: 0.7092 MB / 1.072 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.3811, allocations: 0 / 1.072 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.3811, allocations: 11.88 kB / 1.072 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.3812, allocations: 7.922 kB / 1.072 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.3817, allocations: 107.8 kB / 1.072 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3818, allocations: 59.84 kB / 1.072 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3819, allocations: 15.98 kB / 1.072 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.382, allocations: 31.84 kB / 1.072 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.3821, allocations: 43.83 kB / 1.072 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3822, allocations: 4 kB / 1.072 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3824, allocations: 87.84 kB / 1.072 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.3824, allocations: 15.92 kB / 1.072 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.3825, allocations: 53.56 kB / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3827, allocations: 139.8 kB / 1.072 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3827, allocations: 0 / 1.072 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3827, allocations: 0 / 1.072 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3827, allocations: 0 / 1.072 GB, free: 8.879 MB / 0.8262 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.0006722/0.3834, allocations: 409 kB / 1.073 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3835, allocations: 12.03 kB / 1.073 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3835, allocations: 4.938 kB / 1.073 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3837, allocations: 176.2 kB / 1.073 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.3837, allocations: 384 / 1.073 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3837, allocations: 8.375 kB / 1.073 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3839, allocations: 69.97 kB / 1.073 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.384, allocations: 11.98 kB / 1.073 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.384, allocations: 0 / 1.073 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.384, allocations: 3.938 kB / 1.073 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.3841, allocations: 39.98 kB / 1.073 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.3848, allocations: 324.7 kB / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.385, allocations: 50.5 kB / 1.073 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.3851, allocations: 36.97 kB / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3851, allocations: 4 kB / 1.073 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.3853, allocations: 91.38 kB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3853, allocations: 0 / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004279/0.3858, allocations: 149.5 kB / 1.074 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3858, allocations: 55.39 kB / 1.074 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3859, allocations: 117.8 kB / 1.074 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.386, allocations: 25.7 kB / 1.074 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.386, allocations: 96.12 kB / 1.074 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.3861, allocations: 15.75 kB / 1.074 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3861, allocations: 21.66 kB / 1.074 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3863, allocations: 322.8 kB / 1.074 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.3864, allocations: 31.98 kB / 1.074 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3865, allocations: 54.55 kB / 1.074 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3867, allocations: 82.84 kB / 1.074 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3867, allocations: 0 / 1.074 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002868/0.387, allocations: 117.5 kB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.387, allocations: 11.94 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.387, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.387, allocations: 4.062 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.3871, allocations: 11.98 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3872, allocations: 4 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.3872, allocations: 11.92 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3873, allocations: 4 kB / 1.075 GB, free: 6.301 MB / 0.8262 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.0001223/0.3874, allocations: 119 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.3874, allocations: 15.83 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.3874, allocations: 12.38 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3875, allocations: 4 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3875, allocations: 3.938 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3875, allocations: 3.984 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.388, allocations: 386.3 kB / 1.075 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.388, allocations: 3.984 kB / 1.075 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.3881, allocations: 8 kB / 1.075 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3881, allocations: 4 kB / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3881, allocations: 0 / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3881, allocations: 0 / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3881, allocations: 3.938 kB / 1.075 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3884, allocations: 219.4 kB / 1.075 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.3885, allocations: 85.02 kB / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3885, allocations: 0 / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.3886, allocations: 7.984 kB / 1.075 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3886, allocations: 7.938 kB / 1.075 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3886, allocations: 3.984 kB / 1.075 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.3887, allocations: 87.28 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3887, allocations: 4 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003107/0.389, allocations: 39.98 kB / 1.076 GB, free: 5.203 MB / 0.8262 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.0004129/0.3895, allocations: 165.5 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3897, allocations: 79.95 kB / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3897, allocations: 4.062 kB / 1.076 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3898, allocations: 36.31 kB / 1.076 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3901, allocations: 11.92 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.3905, allocations: 205.2 kB / 1.076 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3909, allocations: 0.6936 MB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.391, allocations: 4.156 kB / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.391, allocations: 15.42 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.391, allocations: 0 / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.004838/0.3958, allocations: 1.357 MB / 1.078 GB, free: 2.594 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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