Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007419/0.007419, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001545/0.001545, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.028/3.028, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 71.89 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3827, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003257/0.386, allocations: 1.515 MB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3876, allocations: 0.7638 MB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.3877, allocations: 0 / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.3878, allocations: 11.88 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.3879, allocations: 7.875 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.3886, allocations: 131.6 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.3888, allocations: 111.7 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.389, allocations: 8 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3891, allocations: 43.89 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3892, allocations: 59.81 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3893, allocations: 12 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.3895, allocations: 95.84 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.3895, allocations: 31.89 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.3896, allocations: 35.8 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.3899, allocations: 171.5 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.39, allocations: 0 / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.39, allocations: 0 / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.39, allocations: 4 kB / 1.211 GB, free: 6.688 MB / 0.9669 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.0007705/0.3908, allocations: 458.6 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3908, allocations: 12.02 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.3909, allocations: 8.844 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.391, allocations: 176.2 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3911, allocations: 4.375 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3911, allocations: 8.375 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.3914, allocations: 89.88 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3914, allocations: 3.938 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3914, allocations: 8 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3914, allocations: 0 / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.3917, allocations: 51.89 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008525/0.3925, allocations: 348.7 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3927, allocations: 62.55 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3928, allocations: 44.92 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3929, allocations: 3.938 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.3931, allocations: 99.34 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.3932, allocations: 4 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005912/0.3938, allocations: 185.5 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3938, allocations: 55.41 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3939, allocations: 132 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.394, allocations: 29.7 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.394, allocations: 96.22 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.3941, allocations: 23.8 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.3941, allocations: 29.7 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3942, allocations: 322.8 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.3943, allocations: 31.97 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3944, allocations: 64.28 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3946, allocations: 96.2 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3946, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002876/0.3949, allocations: 133.4 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.395, allocations: 8.094 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.395, allocations: 4 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.395, allocations: 0 / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3951, allocations: 15.98 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.3951, allocations: 0 / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.3952, allocations: 11.84 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3952, allocations: 4 kB / 1.213 GB, free: 3.852 MB / 0.9669 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 0.0001107/0.3954, allocations: 134.8 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3954, allocations: 8 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.3954, allocations: 8.375 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3954, allocations: 4 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3954, allocations: 0 / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3955, allocations: 0 / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.396, allocations: 438.2 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3961, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.3961, allocations: 11.94 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3961, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3961, allocations: 3.984 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3961, allocations: 4 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3962, allocations: 8 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3966, allocations: 243.8 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3966, allocations: 85 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.3966, allocations: 8 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3968, allocations: 4 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.3968, allocations: 11.92 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3968, allocations: 7.938 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.3969, allocations: 97.52 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3969, allocations: 0 / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003345/0.3972, allocations: 47.92 kB / 1.214 GB, free: 2.648 MB / 0.9669 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.0003901/0.3976, allocations: 163.2 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.398, allocations: 91.88 kB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.398, allocations: 0 / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3982, allocations: 48.17 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3984, allocations: 15.92 kB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.399, allocations: 200 kB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3993, allocations: 0.6885 MB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.3993, allocations: 11.98 kB / 1.215 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.3994, allocations: 15.44 kB / 1.215 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.3994, allocations: 0 / 1.215 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of Templates: time 0.004836/0.4042, allocations: 1.736 MB / 1.217 GB, free: 15.64 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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