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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001363/0.001363, allocations: 100.1 kB / 15.88 MB, free: 12 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.001201/0.001201, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 62.44 kB / 0.899 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2765, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002737/0.2792, allocations: 1.574 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2806, allocations: 0.7712 MB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.2807, allocations: 3.938 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.2808, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.2808, allocations: 15.86 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.2814, allocations: 111.7 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.2815, allocations: 99.75 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.2816, allocations: 12 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2817, allocations: 39.84 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.2818, allocations: 55.8 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2819, allocations: 4 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.2821, allocations: 95.84 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.2821, allocations: 23.89 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.2822, allocations: 39.8 kB / 1.056 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2824, allocations: 124 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2824, allocations: 0 / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2824, allocations: 4 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2824, allocations: 0 / 1.056 GB, free: 5.352 MB / 0.8106 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.0006968/0.2831, allocations: 446.7 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2832, allocations: 11.97 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.2832, allocations: 8.844 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2834, allocations: 180.2 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.2834, allocations: 4.375 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2834, allocations: 12.31 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.2837, allocations: 97.88 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2837, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.2837, allocations: 3.984 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2838, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2839, allocations: 51.95 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.2847, allocations: 356.5 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.2849, allocations: 54.56 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2851, allocations: 44.83 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2851, allocations: 4 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.2854, allocations: 99.34 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.2854, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000573/0.286, allocations: 185.8 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.286, allocations: 55.56 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2861, allocations: 128.1 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2861, allocations: 33.7 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.2862, allocations: 88.12 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2862, allocations: 19.72 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.2863, allocations: 33.7 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2864, allocations: 322.8 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.2865, allocations: 27.98 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2866, allocations: 68.27 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.2868, allocations: 96.2 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2868, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002592/0.2871, allocations: 133.4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2871, allocations: 11.94 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2871, allocations: 3.984 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2871, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2872, allocations: 15.94 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2873, allocations: 12.05 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.2874, allocations: 7.938 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2874, allocations: 4.094 kB / 1.058 GB, free: 2.52 MB / 0.8106 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.0001056/0.2875, allocations: 125.8 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.2875, allocations: 7.906 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.2876, allocations: 16.36 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2876, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2876, allocations: 3.938 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2876, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.2882, allocations: 434.3 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2882, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.2882, allocations: 4 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2882, allocations: 0 / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2883, allocations: 7.984 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2883, allocations: 0 / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2883, allocations: 3.938 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.2887, allocations: 247.3 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.2887, allocations: 85.02 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.2888, allocations: 0 / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2889, allocations: 7.984 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2889, allocations: 15.92 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.289, allocations: 4.062 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.289, allocations: 98.27 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.289, allocations: 4 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003177/0.2893, allocations: 47.92 kB / 1.059 GB, free: 1.332 MB / 0.8106 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.0003412/0.2897, allocations: 159 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.29, allocations: 91.89 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.29, allocations: 0 / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2902, allocations: 51.91 kB / 1.059 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.2904, allocations: 11.98 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.2909, allocations: 247.7 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.2912, allocations: 0.6907 MB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.2912, allocations: 11.44 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.2912, allocations: 0 / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of Templates: time 0.003683/0.2949, allocations: 1.809 MB / 1.062 GB, free: 14.22 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches