Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008WindowsTOut,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.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_9_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.001533/0.001533, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001503/0.001503, allocations: 199.8 kB / 16.26 MB, free: 6.621 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.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.604/2.604, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7836, allocations: 140.4 MB / 0.9491 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002453/0.7861, allocations: 1.555 MB / 0.9506 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.7872, allocations: 0.7175 MB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.7873, allocations: 5.312 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.7873, allocations: 0 / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.7874, allocations: 13.28 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.7879, allocations: 106.1 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.788, allocations: 83.34 kB / 0.9515 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.7881, allocations: 21.47 kB / 0.9515 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.7882, allocations: 33.62 kB / 0.9516 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.7882, allocations: 39.83 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.7883, allocations: 6.719 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.7884, allocations: 97.94 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.7884, allocations: 14.52 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.7885, allocations: 36.03 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.7887, allocations: 139.5 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7887, allocations: 1.25 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/0.7887, allocations: 0 / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.7887, allocations: 3.938 kB / 0.9519 GB, free: 7.066 MB / 0.7169 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.0005545/0.7893, allocations: 419.7 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7893, allocations: 9.25 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.7894, allocations: 8.562 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.636e-05/0.7894, allocations: 172.6 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.7895, allocations: 11.25 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.7895, allocations: 7.375 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.7897, allocations: 76.3 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7897, allocations: 0 / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7897, allocations: 1.188 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.7897, allocations: 1.125 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.7898, allocations: 40.77 kB / 0.9526 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.7903, allocations: 324.6 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.7905, allocations: 53.08 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.7905, allocations: 31.88 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.7906, allocations: 1.406 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.7907, allocations: 80.69 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7907, allocations: 0 / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003541/0.7911, allocations: 137.2 kB / 0.9532 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.7911, allocations: 52.69 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.7912, allocations: 125.3 kB / 0.9534 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.7912, allocations: 26.95 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.7913, allocations: 94.8 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.7913, allocations: 22.33 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.7913, allocations: 26.53 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.7914, allocations: 324.2 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.7915, allocations: 22.17 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.7916, allocations: 48.33 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.7917, allocations: 73.5 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7917, allocations: 1.438 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002087/0.7919, allocations: 112.6 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7919, allocations: 5 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.792, allocations: 1.156 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.792, allocations: 5.281 kB / 0.9541 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.7921, allocations: 13.27 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7921, allocations: 0 / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.7922, allocations: 12.11 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.7922, allocations: 8.188 kB / 0.9541 GB, free: 4.922 MB / 0.7169 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.475e-05/0.7923, allocations: 121.7 kB / 0.9542 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.7923, allocations: 7.875 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.7923, allocations: 9.344 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7923, allocations: 5.062 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7923, allocations: 0 / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7923, allocations: 5.359 kB / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.7927, allocations: 378.3 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7927, allocations: 7.922 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.7927, allocations: 3.625 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7928, allocations: 1.312 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.7928, allocations: 0 / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7928, allocations: 5.219 kB / 0.9546 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7928, allocations: 3.938 kB / 0.9547 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.793, allocations: 210.8 kB / 0.9549 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.793, allocations: 86.42 kB / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.7931, allocations: 1 kB / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.7932, allocations: 6.734 kB / 0.9549 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.7932, allocations: 18.83 kB / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.7932, allocations: 3 kB / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.7932, allocations: 91.77 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7932, allocations: 3.938 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002875/0.7935, allocations: 41.08 kB / 0.9551 GB, free: 4.004 MB / 0.7169 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.0002883/0.7938, allocations: 164.1 kB / 0.9553 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.7941, allocations: 77.75 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7941, allocations: 1.188 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.7942, allocations: 35.83 kB / 0.9554 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.7944, allocations: 6.938 kB / 0.9554 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.7948, allocations: 197.6 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.841e-05/0.7949, allocations: 0.6888 MB / 0.9562 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.7949, allocations: 6.828 kB / 0.9562 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.795, allocations: 15.34 kB / 0.9563 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.795, allocations: 0 / 0.9563 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.003561/0.7985, allocations: 1.396 MB / 0.9576 GB, free: 2.219 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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