Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008032/0.0008031, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008321/0.0008322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.762/2.762, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003538, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7898, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002298/0.7921, allocations: 1.203 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.7937, allocations: 0.6822 MB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.7938, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.7938, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.7939, allocations: 7.875 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.7944, allocations: 95.77 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.7946, allocations: 67.81 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7947, allocations: 11.94 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.7948, allocations: 27.92 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.7949, allocations: 35.88 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.7949, allocations: 4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.7951, allocations: 91.84 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.7951, allocations: 7.984 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.7952, allocations: 37.64 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.7954, allocations: 101.8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7954, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7954, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7954, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 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.0007171/0.7962, allocations: 412.8 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.7962, allocations: 16.5 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.7963, allocations: 7.906 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.7964, allocations: 167 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.7965, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.7965, allocations: 7.953 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.7967, allocations: 73.59 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7967, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.7967, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7967, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.7969, allocations: 43.91 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.7975, allocations: 332.7 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.7976, allocations: 50.5 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.7977, allocations: 32.97 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.7977, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.798, allocations: 79.38 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.798, allocations: 7.984 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004038/0.7984, allocations: 145.5 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.7984, allocations: 55.41 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.7986, allocations: 121.8 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.7986, allocations: 29.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.7987, allocations: 84.33 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.7987, allocations: 23.86 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.7987, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7988, allocations: 322.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.7989, allocations: 35.97 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.799, allocations: 50.5 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.7991, allocations: 31.98 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7991, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.7994, allocations: 117.5 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7994, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7994, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7994, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.7995, allocations: 15.92 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7995, allocations: 8.062 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.7996, allocations: 11.84 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.7996, allocations: 8 kB / 1.027 GB, free: 11.17 MB / 0.7794 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.7998, allocations: 120.8 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.7998, allocations: 7.984 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.7998, allocations: 8.375 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7998, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7998, allocations: 8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7998, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.8003, allocations: 386.3 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8003, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.8004, allocations: 4 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8004, allocations: 0 / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.8004, allocations: 11.98 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8004, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8004, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.8007, allocations: 223.8 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.8007, allocations: 81.09 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.8008, allocations: 11.94 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.8009, allocations: 4 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.8009, allocations: 7.984 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.8009, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.801, allocations: 91.92 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.583e-06/0.801, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002963/0.8013, allocations: 39.94 kB / 1.028 GB, free: 10.08 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003885/0.8017, allocations: 168.3 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.8019, allocations: 83.88 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.802, allocations: 0 / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.8021, allocations: 40.11 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.8023, allocations: 15.94 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.8027, allocations: 201.9 kB / 1.028 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.8031, allocations: 0.6926 MB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.8031, allocations: 192 / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.8031, allocations: 11.44 kB / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8031, allocations: 3.938 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.004259/0.8074, allocations: 1.339 MB / 1.03 GB, free: 7.484 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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