Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006791/0.006791, allocations: 100.5 kB / 15.73 MB, free: 5.551 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.001512/0.001512, allocations: 187.6 kB / 16.67 MB, free: 5.473 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.83 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8339, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003051/0.837, allocations: 1.507 MB / 1.222 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.8386, allocations: 0.7254 MB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.8387, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.939e-05/0.8387, allocations: 7.922 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.8388, allocations: 15.86 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.8395, allocations: 115.6 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.8396, allocations: 75.78 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.8397, allocations: 15.94 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.8398, allocations: 39.84 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.8399, allocations: 43.83 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.8399, allocations: 8 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.8401, allocations: 91.91 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.8401, allocations: 15.92 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.8402, allocations: 39.78 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.8405, allocations: 142.9 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8405, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8405, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.8405, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 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.0007693/0.8412, allocations: 421.8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8413, allocations: 8.625 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.8413, allocations: 12.88 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.8415, allocations: 172.3 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.8415, allocations: 8.375 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.8415, allocations: 384 / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.8417, allocations: 73.97 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8417, allocations: 7.938 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8418, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.8418, allocations: 4 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.8419, allocations: 35.97 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.8425, allocations: 316.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.8426, allocations: 54.48 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.8427, allocations: 28.91 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.8427, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.8429, allocations: 79.38 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.8429, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003912/0.8433, allocations: 141.7 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.8434, allocations: 55.41 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.8435, allocations: 125.8 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.8435, allocations: 29.64 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.8435, allocations: 88.14 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.8436, allocations: 19.89 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.8436, allocations: 25.72 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8437, allocations: 322.8 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.8438, allocations: 27.98 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.8439, allocations: 46.55 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.8441, allocations: 74.8 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8441, allocations: 3.984 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000247/0.8443, allocations: 113.6 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8443, allocations: 4 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8443, allocations: 4 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8444, allocations: 3.984 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.8444, allocations: 8 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8445, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.8445, allocations: 19.86 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.8445, allocations: 4 kB / 1.226 GB, free: 12.71 MB / 0.9512 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.761e-05/0.8446, allocations: 126.3 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.8447, allocations: 11.89 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.8447, allocations: 12.38 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.8447, allocations: 3.984 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8447, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8447, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.8451, allocations: 386.4 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8451, allocations: 0 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.8452, allocations: 4 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.8452, allocations: 0 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.8452, allocations: 8 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8452, allocations: 3.938 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.8452, allocations: 7.922 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.8455, allocations: 203.5 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.8455, allocations: 85.06 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.8455, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.8456, allocations: 15.97 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.8457, allocations: 7.938 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.8457, allocations: 3.984 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.8457, allocations: 87.28 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.8457, allocations: 0 / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003307/0.8461, allocations: 39.92 kB / 1.227 GB, free: 11.62 MB / 0.9512 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.0003564/0.8464, allocations: 173.9 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.8466, allocations: 68.12 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8466, allocations: 0 / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.8467, allocations: 32.2 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.847, allocations: 14.66 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.8474, allocations: 184.2 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.8477, allocations: 0.6923 MB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.8477, allocations: 4 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.8477, allocations: 11.44 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.8477, allocations: 4 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.003877/0.8516, allocations: 1.462 MB / 1.229 GB, free: 8.945 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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