Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_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_latest_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.001691/0.001691, allocations: 108 kB / 15.6 MB, free: 132 kB / 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: 195 kB / 16.53 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.7 MB / 0.7452 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 61.33 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3363, allocations: 159.9 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00289/0.3393, allocations: 1.506 MB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3407, allocations: 0.7479 MB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3407, allocations: 3.938 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.3408, allocations: 7.875 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.3408, allocations: 23.84 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005841/0.3414, allocations: 139.6 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3416, allocations: 99.75 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3417, allocations: 11.98 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3418, allocations: 43.84 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.424e-05/0.3419, allocations: 59.8 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3419, allocations: 12 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3421, allocations: 99.84 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.3422, allocations: 27.95 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.3422, allocations: 35.8 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.3425, allocations: 159.8 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3425, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3425, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3426, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 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.0006762/0.3432, allocations: 466.6 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3433, allocations: 8.031 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.3433, allocations: 12.83 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3435, allocations: 180.2 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3435, allocations: 8.375 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3435, allocations: 4.375 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3438, allocations: 93.88 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3438, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3438, allocations: 11.94 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3438, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.344, allocations: 51.91 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.3448, allocations: 336.7 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.345, allocations: 66.55 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.3451, allocations: 40.84 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3451, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.3454, allocations: 103.5 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3454, allocations: 4 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005218/0.3459, allocations: 181.5 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.346, allocations: 51.41 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3461, allocations: 129 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3461, allocations: 29.7 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.3462, allocations: 96.05 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3462, allocations: 15.8 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.3463, allocations: 33.7 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3464, allocations: 326.7 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.3465, allocations: 31.97 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3466, allocations: 64.28 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3468, allocations: 96.2 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3468, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002777/0.3471, allocations: 133.4 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3471, allocations: 4 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3471, allocations: 4.094 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3471, allocations: 4 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3473, allocations: 11.98 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3473, allocations: 4 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.3474, allocations: 7.938 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3474, allocations: 4 kB / 1.074 GB, free: 4.52 MB / 0.8262 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.0001012/0.3475, allocations: 135.5 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.3475, allocations: 7.906 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3475, allocations: 12.38 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3475, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3476, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3476, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005632/0.3481, allocations: 430.3 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3481, allocations: 7.922 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.3482, allocations: 4.062 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3482, allocations: 8 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3482, allocations: 7.984 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3482, allocations: 3.984 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3482, allocations: 7.922 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.3486, allocations: 243.4 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.3487, allocations: 77.11 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3487, allocations: 4 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3488, allocations: 11.98 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3489, allocations: 7.938 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3489, allocations: 7.984 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.3489, allocations: 91.27 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.349, allocations: 7.938 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003147/0.3493, allocations: 43.84 kB / 1.075 GB, free: 3.324 MB / 0.8262 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.0003274/0.3496, allocations: 160 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.3499, allocations: 91.88 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.35, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.3501, allocations: 47.98 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3504, allocations: 19.14 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.3509, allocations: 194.1 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3512, allocations: 0.7001 MB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.3513, allocations: 11.77 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3513, allocations: 11.44 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3513, allocations: 0 / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of Templates: time 0.004681/0.356, allocations: 1.731 MB / 1.078 GB, free: 344 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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