Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001485/0.001485, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.495/2.495, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7297, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003051/0.7328, allocations: 1.573 MB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.7341, allocations: 0.7431 MB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.7342, allocations: 0 / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.7342, allocations: 3.938 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.7343, allocations: 10.67 kB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.7349, allocations: 127.5 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.735, allocations: 106.3 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.7351, allocations: 19.53 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.7352, allocations: 42.47 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.7353, allocations: 55.05 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.7353, allocations: 9.781 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.7355, allocations: 97.38 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.7355, allocations: 26.72 kB / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.7356, allocations: 47.81 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.7358, allocations: 164.1 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7359, allocations: 1.75 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7359, allocations: 0 / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7359, allocations: 0 / 0.952 GB, free: 6.875 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006031/0.7365, allocations: 463.2 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7365, allocations: 9.5 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.7366, allocations: 8.219 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.536e-05/0.7367, allocations: 180.7 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.7367, allocations: 8.188 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.7367, allocations: 8.469 kB / 0.9527 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.737, allocations: 90.16 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.737, allocations: 0.9062 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.737, allocations: 9.281 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.737, allocations: 0 / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.7372, allocations: 49.62 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.7379, allocations: 342.9 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.7381, allocations: 62.8 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.7382, allocations: 50.23 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.7382, allocations: 1.219 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.7385, allocations: 95.7 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.7385, allocations: 0 / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005304/0.739, allocations: 188.4 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.7391, allocations: 58.19 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.7392, allocations: 126.5 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.7392, allocations: 32.02 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.7392, allocations: 90.59 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.7392, allocations: 18.66 kB / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.7393, allocations: 30.83 kB / 0.9539 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.7394, allocations: 329.2 kB / 0.9542 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.7394, allocations: 36.14 kB / 0.9542 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.7395, allocations: 68.23 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.7397, allocations: 92.03 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7397, allocations: 1.812 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000233/0.7399, allocations: 127.7 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.74, allocations: 6.531 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.74, allocations: 0 / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.74, allocations: 2.625 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.7401, allocations: 17.89 kB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.7401, allocations: 6.781 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.7402, allocations: 8.75 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.7402, allocations: 11.3 kB / 0.9546 GB, free: 4.535 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.4e-05/0.7403, allocations: 128.9 kB / 0.9547 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.7403, allocations: 7.656 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.7404, allocations: 5.656 kB / 0.9547 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7404, allocations: 1.156 kB / 0.9547 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7404, allocations: 4 kB / 0.9547 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7404, allocations: 5.297 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.7409, allocations: 430.7 kB / 0.9551 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7409, allocations: 3.938 kB / 0.9551 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.7409, allocations: 8.219 kB / 0.9551 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7409, allocations: 3.984 kB / 0.9551 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.7409, allocations: 1.188 kB / 0.9551 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.741, allocations: 5.219 kB / 0.9551 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.741, allocations: 3.938 kB / 0.9551 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.7413, allocations: 239.7 kB / 0.9554 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.7413, allocations: 88.25 kB / 0.9554 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.7414, allocations: 1.125 kB / 0.9554 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7415, allocations: 3.625 kB / 0.9555 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.7415, allocations: 18.92 kB / 0.9555 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.7415, allocations: 6.078 kB / 0.9555 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.7416, allocations: 94.52 kB / 0.9556 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.92e-07/0.7416, allocations: 0 / 0.9556 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003076/0.7419, allocations: 43.5 kB / 0.9556 GB, free: 3.574 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003308/0.7422, allocations: 165.6 kB / 0.9558 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.7425, allocations: 99.77 kB / 0.9559 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7426, allocations: 0 / 0.9559 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.7427, allocations: 46.66 kB / 0.9559 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.743, allocations: 16.69 kB / 0.9559 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.7434, allocations: 214.8 kB / 0.9561 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.7435, allocations: 0.6942 MB / 0.9568 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.7436, allocations: 11.81 kB / 0.9568 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.7436, allocations: 15.47 kB / 0.9568 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7436, allocations: 0 / 0.9568 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.004398/0.748, allocations: 1.714 MB / 0.9585 GB, free: 1.582 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0