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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001489/0.001489, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001431/0.001432, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 71.88 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9047/0.9059, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002722/0.9087, allocations: 1.51 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.9101, allocations: 0.7247 MB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.9101, allocations: 4 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.9102, allocations: 5.578 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.9103, allocations: 14.09 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.9109, allocations: 122 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.911, allocations: 76.22 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.9111, allocations: 16.22 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.9112, allocations: 34.84 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.9113, allocations: 36.59 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.9114, allocations: 7.094 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.9116, allocations: 100 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.9116, allocations: 17.56 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.9117, allocations: 31.62 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.912, allocations: 137.9 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.912, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.912, allocations: 3.938 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.912, allocations: 1.5 kB / 1.091 GB, free: 3.73 MB / 0.8575 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.0005915/0.9126, allocations: 427.7 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9127, allocations: 9.719 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.9127, allocations: 9.328 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.9128, allocations: 169.2 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.9128, allocations: 7.547 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.9129, allocations: 4.094 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.9131, allocations: 72.42 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.9131, allocations: 0.7188 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.9131, allocations: 9.484 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.9131, allocations: 0.75 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.9133, allocations: 36.05 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.9138, allocations: 322.5 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.914, allocations: 53.19 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.914, allocations: 33.12 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.9141, allocations: 1.094 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.9143, allocations: 76.7 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.9143, allocations: 0 / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.9147, allocations: 141.6 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.9147, allocations: 57.38 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.9148, allocations: 123.6 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.9148, allocations: 27.28 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.9149, allocations: 91.83 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.9149, allocations: 12.31 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.915, allocations: 29.06 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.915, allocations: 324 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.9151, allocations: 30.86 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.9152, allocations: 46.48 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.9154, allocations: 72.33 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9154, allocations: 0.7969 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002202/0.9156, allocations: 116.8 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.9157, allocations: 4.969 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9157, allocations: 1.062 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.9157, allocations: 1.062 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.9158, allocations: 11.78 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9158, allocations: 2.094 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.9159, allocations: 12.56 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.9159, allocations: 8.312 kB / 1.094 GB, free: 1.746 MB / 0.8575 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 6.521e-05/0.916, allocations: 128 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.916, allocations: 7.484 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.916, allocations: 10.77 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.916, allocations: 4.875 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.916, allocations: 1.516 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.916, allocations: 0 / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.9164, allocations: 382.9 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9164, allocations: 4 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.9165, allocations: 5.078 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9165, allocations: 0.8125 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.9165, allocations: 2.875 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9165, allocations: 0.6562 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9165, allocations: 4.656 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.9168, allocations: 215.4 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.9168, allocations: 79.97 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.9168, allocations: 5.906 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.9169, allocations: 8.047 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.917, allocations: 13.2 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.917, allocations: 2.891 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.917, allocations: 95.53 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.917, allocations: 0.6562 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003303/0.9174, allocations: 45.69 kB / 1.095 GB, free: 0.8789 MB / 0.8575 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.0003498/0.9177, allocations: 168.6 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.918, allocations: 72.33 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.918, allocations: 0 / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.827e-05/0.9181, allocations: 34.36 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.9183, allocations: 12.55 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.9188, allocations: 202.5 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.919, allocations: 0.6915 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.919, allocations: 16.41 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.919, allocations: 0 / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.003878/0.9229, allocations: 1.621 MB / 1.097 GB, free: 15.68 MB / 0.8731 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 -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) Reference file matches