Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009455/0.009455, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001661/0.001661, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9134/0.9148, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002898/0.9178, allocations: 1.498 MB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.9192, allocations: 0.7353 MB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.9193, allocations: 0.9688 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.9193, allocations: 4.875 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.9194, allocations: 10.31 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.92, allocations: 120.8 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.9201, allocations: 83.16 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.9203, allocations: 6.875 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.9204, allocations: 43.44 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.9205, allocations: 33.66 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.9205, allocations: 6.906 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.9207, allocations: 93.98 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.9207, allocations: 23.25 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.9208, allocations: 31.67 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.9211, allocations: 141.9 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9211, allocations: 0 / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9211, allocations: 1.609 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9211, allocations: 0 / 1.091 GB, free: 3.699 MB / 0.8575 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.0006085/0.9217, allocations: 426.6 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.9218, allocations: 10.41 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.9218, allocations: 8.266 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/0.9219, allocations: 169.9 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.922, allocations: 15.83 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.922, allocations: 3.969 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.9222, allocations: 72.86 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9222, allocations: 3.938 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.9222, allocations: 1.609 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.9223, allocations: 0.8438 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.9224, allocations: 36.19 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.923, allocations: 321 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.9232, allocations: 46.08 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.9233, allocations: 36.05 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.9233, allocations: 0.7812 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.9235, allocations: 81.55 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.9235, allocations: 0 / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000425/0.9239, allocations: 137.2 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.924, allocations: 55.17 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.9241, allocations: 122.5 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.9241, allocations: 31.08 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.9241, allocations: 91.98 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.9242, allocations: 16.75 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.9242, allocations: 29.3 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.9243, allocations: 327.4 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.9244, allocations: 26.7 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.9245, allocations: 51.55 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.9247, allocations: 82.22 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9247, allocations: 0.9688 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002476/0.9249, allocations: 114.1 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9249, allocations: 6.078 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.925, allocations: 0.7812 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.925, allocations: 5.562 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.9251, allocations: 16.11 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.9251, allocations: 6.328 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.9252, allocations: 16.97 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.9252, allocations: 4.609 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 7.904e-05/0.9253, allocations: 119.8 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.9253, allocations: 7.484 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.9253, allocations: 14.52 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9253, allocations: 0.8438 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9254, allocations: 1.125 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9254, allocations: 0.6562 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.9258, allocations: 383 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9258, allocations: 3.984 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.9259, allocations: 4.969 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9259, allocations: 5.328 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.9259, allocations: 2.672 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9259, allocations: 4 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9259, allocations: 4.656 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.9262, allocations: 207.7 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.9262, allocations: 88.11 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.9262, allocations: 9.672 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.9263, allocations: 4.234 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.9264, allocations: 13.14 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.9264, allocations: 3.359 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.203e-05/0.9265, allocations: 92 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9265, allocations: 0 / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003434/0.9268, allocations: 38.27 kB / 1.094 GB, free: 0.8281 MB / 0.8575 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,occ.y,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.0003632/0.9272, allocations: 162.9 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.9274, allocations: 72.19 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.9275, allocations: 0.7812 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.9276, allocations: 36.78 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.9278, allocations: 12.08 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.9283, allocations: 186.9 kB / 1.094 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.9285, allocations: 0.6868 MB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.9285, allocations: 8.375 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.9286, allocations: 12.59 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.9286, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.005597/0.9342, allocations: 1.461 MB / 1.096 GB, free: 15.66 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0