Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01023/0.01023, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001822/0.001822, allocations: 191.8 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.332/2.332, allocations: 390.2 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9494/0.9508, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002823/0.9537, allocations: 1.524 MB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.9551, allocations: 0.7497 MB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.9551, allocations: 4 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.9552, allocations: 10.53 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.9552, allocations: 9.578 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.9559, allocations: 135.6 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.956, allocations: 105 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.9561, allocations: 12.55 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.9563, allocations: 50.48 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.9564, allocations: 50.11 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.9564, allocations: 9.281 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.9566, allocations: 100.3 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.9567, allocations: 25.81 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.9567, allocations: 40.27 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.9571, allocations: 165.4 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9571, allocations: 0.9688 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9571, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.9571, allocations: 0.7969 kB / 1.091 GB, free: 3.637 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000686/0.9578, allocations: 469.1 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.9579, allocations: 9.344 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.9579, allocations: 9.938 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.958, allocations: 173.8 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.9581, allocations: 4.484 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.9581, allocations: 8.469 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.9584, allocations: 85.27 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.9584, allocations: 4.75 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.9584, allocations: 4.656 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9584, allocations: 0.7188 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.9586, allocations: 50.33 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007686/0.9594, allocations: 336.8 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.9596, allocations: 72.53 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.9597, allocations: 42.73 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.9597, allocations: 2.359 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.96, allocations: 91.3 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.96, allocations: 4 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006737/0.9607, allocations: 179.4 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.9607, allocations: 62.16 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.9609, allocations: 126.8 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.9609, allocations: 31.28 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.961, allocations: 96.48 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.961, allocations: 20.81 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.9611, allocations: 30.66 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.9612, allocations: 323.9 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.9613, allocations: 38.11 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.9614, allocations: 58.84 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.9617, allocations: 95.84 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9617, allocations: 0 / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002858/0.962, allocations: 135.1 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.962, allocations: 9.812 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.962, allocations: 0.9062 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.962, allocations: 2.656 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.9621, allocations: 22.14 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.9622, allocations: 2.312 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.9622, allocations: 13.88 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.9623, allocations: 4.484 kB / 1.093 GB, free: 1.496 MB / 0.8575 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 8.488e-05/0.9624, allocations: 125.2 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.9624, allocations: 11.77 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.9624, allocations: 7 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9624, allocations: 1.406 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9624, allocations: 0.6562 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9624, allocations: 1.203 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.963, allocations: 429.5 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.963, allocations: 0 / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.9631, allocations: 13.66 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9631, allocations: 0.8438 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.9631, allocations: 3.75 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.9631, allocations: 0 / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9631, allocations: 5.922 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.9635, allocations: 237.5 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.9635, allocations: 84.06 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.9636, allocations: 10.64 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.9637, allocations: 5.109 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.9637, allocations: 13.62 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.9638, allocations: 4.344 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.9638, allocations: 97.52 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9638, allocations: 0 / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003596/0.9642, allocations: 48.77 kB / 1.094 GB, free: 0.6172 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: 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.0003825/0.9646, allocations: 168.1 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.9649, allocations: 88.88 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9649, allocations: 0 / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.9651, allocations: 48.47 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.9654, allocations: 19.53 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.9658, allocations: 195.6 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.9661, allocations: 0.6892 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.025e-05/0.9662, allocations: 10.08 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.9662, allocations: 11.95 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9662, allocations: 0 / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.006279/0.9725, allocations: 1.738 MB / 1.097 GB, free: 15.43 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0