Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 102.2 kB / 16.35 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.001269/0.001269, 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 14.97 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.297/2.297, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 64.25 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.295, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002846/0.2979, allocations: 1.509 MB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2992, allocations: 0.7284 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.2993, allocations: 0 / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.2993, allocations: 3.938 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.896e-05/0.2994, allocations: 11.86 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.3, allocations: 127.6 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3001, allocations: 83.7 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.3002, allocations: 4 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.3003, allocations: 39.89 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.3004, allocations: 35.84 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3004, allocations: 8 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3006, allocations: 99.84 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.3006, allocations: 7.984 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.3006, allocations: 43.78 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3009, allocations: 143.6 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3009, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3009, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3009, allocations: 0 / 0.9539 GB, free: 5.199 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.0006192/0.3015, allocations: 416.9 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.3016, allocations: 8.031 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.3016, allocations: 8.844 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3017, allocations: 180.2 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3018, allocations: 8.375 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3018, allocations: 4.375 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.302, allocations: 69.97 kB / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.302, allocations: 0 / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.302, allocations: 0 / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.302, allocations: 4 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3021, allocations: 35.97 kB / 0.9546 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.3028, allocations: 324.6 kB / 0.9549 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3029, allocations: 46.56 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.303, allocations: 32.97 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.303, allocations: 4 kB / 0.955 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.3033, allocations: 75.38 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3033, allocations: 3.938 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004449/0.3037, allocations: 149.5 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.3038, allocations: 51.41 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3039, allocations: 117.8 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3039, allocations: 29.7 kB / 0.9554 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.304, allocations: 100.2 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3041, allocations: 23.69 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.3041, allocations: 29.7 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3043, allocations: 318.8 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.3044, allocations: 27.98 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.3045, allocations: 42.56 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3046, allocations: 78.48 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3046, allocations: 0 / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002417/0.3049, allocations: 113.5 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3049, allocations: 10.03 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3049, allocations: 0 / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.305, allocations: 4.062 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3051, allocations: 19.92 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3051, allocations: 4 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.3052, allocations: 7.906 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3052, allocations: 0 / 0.9561 GB, free: 2.652 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 0.0001007/0.3053, allocations: 134.7 kB / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.3053, allocations: 0 / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.3053, allocations: 8.375 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3053, allocations: 4 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3054, allocations: 3.938 kB / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3054, allocations: 0 / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.3058, allocations: 390.2 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3058, allocations: 0 / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.3059, allocations: 7.984 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3059, allocations: 0 / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3059, allocations: 4 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3059, allocations: 4 kB / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3059, allocations: 3.938 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.3062, allocations: 211.9 kB / 0.9569 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.3063, allocations: 85.02 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3063, allocations: 0 / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.3064, allocations: 4 kB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.3064, allocations: 15.92 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3065, allocations: 4 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.3065, allocations: 91.92 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 4 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003141/0.3068, allocations: 39.98 kB / 0.9571 GB, free: 1.559 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.0003628/0.3072, allocations: 157.3 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3075, allocations: 75.89 kB / 0.9573 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3075, allocations: 0 / 0.9573 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.3076, allocations: 31.98 kB / 0.9573 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3079, allocations: 15.92 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.3083, allocations: 184.3 kB / 0.9575 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3086, allocations: 0.6963 MB / 0.9582 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.3086, allocations: 7.984 kB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.3086, allocations: 15.42 kB / 0.9582 GB, free: 340 kB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3086, allocations: 0 / 0.9582 GB, free: 340 kB / 0.7325 GB Notification: Performance of Templates: time 0.004254/0.3129, allocations: 1.443 MB / 0.9596 GB, free: 14.89 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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