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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001218/0.001218, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.331/2.331, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7036/0.7048, allocations: 140.4 MB / 0.9489 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002409/0.7073, allocations: 1.558 MB / 0.9504 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.7083, allocations: 0.7335 MB / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.7084, allocations: 3.938 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.7084, allocations: 5.25 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.7085, allocations: 9.453 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.7089, allocations: 107.7 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.709, allocations: 70.56 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.7091, allocations: 21.5 kB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.7091, allocations: 29.5 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.7092, allocations: 40.36 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.7092, allocations: 3.812 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.7094, allocations: 93.44 kB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.7094, allocations: 10.48 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.7095, allocations: 32.64 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.7097, allocations: 130.6 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7097, allocations: 1.281 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7097, allocations: 4 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7097, allocations: 0 / 0.9517 GB, free: 7.141 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.0005252/0.7102, allocations: 427.5 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.7103, allocations: 9.156 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.7103, allocations: 5.312 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.022e-05/0.7104, allocations: 172.1 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.7104, allocations: 7.109 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.7105, allocations: 11.84 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.7106, allocations: 71.81 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7106, allocations: 0 / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7107, allocations: 1.094 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.7107, allocations: 1.438 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.7108, allocations: 35.47 kB / 0.9524 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.7113, allocations: 323 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.7114, allocations: 48.38 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.7115, allocations: 31.22 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.7115, allocations: 1.406 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.7117, allocations: 80.81 kB / 0.9529 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.7117, allocations: 0 / 0.9529 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003652/0.7121, allocations: 149.4 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.7121, allocations: 52.91 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.7122, allocations: 116.9 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.7122, allocations: 26.77 kB / 0.9532 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.7123, allocations: 94.16 kB / 0.9533 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.7123, allocations: 10.75 kB / 0.9533 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.7123, allocations: 38.23 kB / 0.9533 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.7124, allocations: 324.5 kB / 0.9536 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.7125, allocations: 22.61 kB / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.7126, allocations: 48.28 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.7127, allocations: 82.55 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7127, allocations: 0 / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002142/0.7129, allocations: 117.1 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.713, allocations: 5.344 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.713, allocations: 1.062 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.713, allocations: 0.8125 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.7131, allocations: 13.14 kB / 0.9539 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7131, allocations: 5.531 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.7132, allocations: 11.97 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.7132, allocations: 2.438 kB / 0.9539 GB, free: 4.996 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.941e-05/0.7133, allocations: 126.8 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.7133, allocations: 6.531 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.7133, allocations: 10.81 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7133, allocations: 1.312 kB / 0.9541 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.7133, allocations: 4 kB / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7133, allocations: 0 / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.7137, allocations: 386.7 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7137, allocations: 1.125 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.7137, allocations: 6.484 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7137, allocations: 1.344 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.7138, allocations: 1.625 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7138, allocations: 4 kB / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7138, allocations: 3.938 kB / 0.9545 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.714, allocations: 201.6 kB / 0.9547 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.7141, allocations: 95.73 kB / 0.9547 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.7141, allocations: 5 kB / 0.9548 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.7142, allocations: 2.156 kB / 0.9548 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.7142, allocations: 11.36 kB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.7142, allocations: 2.25 kB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.7143, allocations: 96.17 kB / 0.9549 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.12e-07/0.7143, allocations: 0 / 0.9549 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002864/0.7146, allocations: 40.09 kB / 0.9549 GB, free: 4.082 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.0003468/0.7149, allocations: 165 kB / 0.9551 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.7152, allocations: 66.78 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7152, allocations: 3.938 kB / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.7153, allocations: 32.58 kB / 0.9552 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.7155, allocations: 14.78 kB / 0.9552 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.7159, allocations: 190.6 kB / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.716, allocations: 0.6929 MB / 0.956 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.684e-05/0.7161, allocations: 4.672 kB / 0.956 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.7161, allocations: 17.89 kB / 0.956 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/0.7161, allocations: 0 / 0.956 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.003478/0.7196, allocations: 1.372 MB / 0.9574 GB, free: 2.309 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