Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 179.2 kB / 16.92 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.293 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.597/2.597, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005205/0.0005205, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6383/0.6389, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001688/0.6406, allocations: 1.219 MB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.6419, allocations: 0.7092 MB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.6419, allocations: 7.938 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.6419, allocations: 3.938 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.642, allocations: 15.91 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.6425, allocations: 107.8 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.6426, allocations: 67.78 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.6427, allocations: 11.98 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.6428, allocations: 31.84 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.6429, allocations: 39.84 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.6429, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.6431, allocations: 91.91 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.6431, allocations: 7.922 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.6432, allocations: 57.55 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.6434, allocations: 97.8 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6434, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6434, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.6434, allocations: 0 / 1.026 GB, free: 13.41 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.0005721/0.644, allocations: 413 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.644, allocations: 8.031 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.6441, allocations: 12.78 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6442, allocations: 180.2 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.6442, allocations: 4.375 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.6443, allocations: 8.375 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.6445, allocations: 69.97 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.6445, allocations: 7.984 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6445, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.6445, allocations: 4 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.6447, allocations: 39.97 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.6452, allocations: 324.7 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.6454, allocations: 58.55 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.6455, allocations: 32.97 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.6455, allocations: 4 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.6457, allocations: 87.28 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.6457, allocations: 4 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.6461, allocations: 141.6 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.6462, allocations: 55.41 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.967e-05/0.6463, allocations: 125.7 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.6463, allocations: 25.7 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.6464, allocations: 92.14 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.6464, allocations: 7.812 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.6464, allocations: 21.7 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6465, allocations: 326.8 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.6466, allocations: 31.98 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.6468, allocations: 50.5 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.6469, allocations: 82.48 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.6469, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/0.6472, allocations: 125.4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6472, allocations: 4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6472, allocations: 4.062 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6473, allocations: 4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.6474, allocations: 15.92 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6474, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.6474, allocations: 11.94 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.6475, allocations: 0 / 1.028 GB, free: 10.82 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,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.591e-05/0.6476, allocations: 126.3 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.6476, allocations: 15.89 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.6476, allocations: 4.375 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.6476, allocations: 0 / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6476, allocations: 0 / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6476, allocations: 0 / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.6481, allocations: 390.4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.6481, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.6482, allocations: 8 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6482, allocations: 3.984 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.6482, allocations: 8 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6482, allocations: 480 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6482, allocations: 3.938 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.6485, allocations: 223.3 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.6485, allocations: 85 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.6486, allocations: 0 / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.6487, allocations: 8 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.6487, allocations: 7.922 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.6487, allocations: 4 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.6488, allocations: 95.92 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6488, allocations: 0 / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002947/0.6491, allocations: 36 kB / 1.029 GB, free: 9.723 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 (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.0003407/0.6494, allocations: 171.7 kB / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.6497, allocations: 83.95 kB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6497, allocations: 0 / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6498, allocations: 35.98 kB / 1.03 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.6501, allocations: 9.859 kB / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.6505, allocations: 238.9 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.6507, allocations: 0.6887 MB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.6508, allocations: 11.44 kB / 1.031 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6508, allocations: 0 / 1.031 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of Templates: time 0.003421/0.6542, allocations: 1.59 MB / 1.032 GB, free: 6.848 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches