Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001567/0.001567, allocations: 103.4 kB / 16.35 MB, free: 5.875 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.001292/0.001292, allocations: 191 kB / 17.29 MB, free: 5.516 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.06 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2824, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002588/0.285, allocations: 1.513 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2862, allocations: 0.7688 MB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.2863, allocations: 0 / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.2863, allocations: 3.938 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.2864, allocations: 11.86 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.2869, allocations: 143.5 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2871, allocations: 95.83 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.2872, allocations: 19.98 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.2873, allocations: 55.77 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.2873, allocations: 47.88 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.2874, allocations: 8 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.2875, allocations: 99.84 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.2876, allocations: 19.97 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.2876, allocations: 43.78 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2879, allocations: 171.5 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2879, allocations: 4 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2879, allocations: 0 / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2879, allocations: 0 / 1.022 GB, free: 6.848 MB / 0.795 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.0006175/0.2886, allocations: 450.7 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2886, allocations: 8.031 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.2886, allocations: 8.844 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2888, allocations: 180.8 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.2888, allocations: 4.375 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2888, allocations: 16.31 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.2891, allocations: 93.88 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2891, allocations: 0 / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2891, allocations: 4 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2891, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.2893, allocations: 47.97 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.29, allocations: 352.5 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2902, allocations: 62.55 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2903, allocations: 44.83 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2903, allocations: 4 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2906, allocations: 103.3 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.2906, allocations: 0 / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0005443/0.2911, allocations: 181.7 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2912, allocations: 63.38 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.2913, allocations: 129.3 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2913, allocations: 37.69 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.2914, allocations: 92 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.2914, allocations: 15.72 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.2915, allocations: 33.7 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.2916, allocations: 322.8 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.2916, allocations: 27.98 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2918, allocations: 68.27 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.2919, allocations: 100.1 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2919, allocations: 4 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002519/0.2922, allocations: 125.5 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2922, allocations: 8 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.2922, allocations: 0 / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2922, allocations: 0 / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2924, allocations: 19.92 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2924, allocations: 4 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.2925, allocations: 15.98 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2925, allocations: 12.09 kB / 1.024 GB, free: 4 MB / 0.795 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.595e-05/0.2926, allocations: 118.4 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.2926, allocations: 7.906 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.2926, allocations: 16.36 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2926, allocations: 3.938 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2927, allocations: 3.938 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2927, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.2932, allocations: 426.4 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2932, allocations: 0 / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.2933, allocations: 7.984 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2933, allocations: 0 / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2933, allocations: 4 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2933, allocations: 0 / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2933, allocations: 7.875 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.2937, allocations: 247.4 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.2938, allocations: 85.02 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2938, allocations: 0 / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2939, allocations: 11.98 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.294, allocations: 7.938 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.294, allocations: 3.984 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.294, allocations: 99.27 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.294, allocations: 0 / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002997/0.2944, allocations: 43.94 kB / 1.025 GB, free: 2.828 MB / 0.795 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.0003105/0.2947, allocations: 165.7 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.295, allocations: 100.3 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.295, allocations: 0 / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2951, allocations: 51.95 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.2954, allocations: 19.09 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.2958, allocations: 198.1 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.2961, allocations: 0.6963 MB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.2962, allocations: 4 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.2962, allocations: 15.36 kB / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2962, allocations: 7.938 kB / 1.026 GB, free: 1.539 MB / 0.795 GB Notification: Performance of Templates: time 0.004281/0.3005, allocations: 1.739 MB / 1.028 GB, free: 15.8 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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