Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001745/0.001745, allocations: 198.6 kB / 16.91 MB, free: 6.195 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.301/1.301, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.94 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2966, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002821/0.2995, allocations: 1.691 MB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3008, allocations: 0.7947 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.3009, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.3009, allocations: 7.922 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.939e-05/0.3011, allocations: 23.8 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.3017, allocations: 127.7 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3019, allocations: 151.6 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.302, allocations: 21.11 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3021, allocations: 71.77 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3022, allocations: 75.72 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3023, allocations: 16 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.3025, allocations: 99.91 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.3026, allocations: 43.81 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.3026, allocations: 59.72 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3029, allocations: 147.9 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3029, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3029, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3029, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008204/0.3037, allocations: 0.5447 MB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3038, allocations: 8.625 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3038, allocations: 12.84 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.304, allocations: 182 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.304, allocations: 4.375 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.304, allocations: 8.375 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.3045, allocations: 145.9 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3045, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.3045, allocations: 7.938 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3045, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.3049, allocations: 103.9 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.3058, allocations: 380.5 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.3062, allocations: 110.4 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.3065, allocations: 80.78 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3065, allocations: 8.141 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004727/0.307, allocations: 143.3 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.307, allocations: 3.938 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.00115/0.3082, allocations: 305.3 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.3082, allocations: 59.41 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3084, allocations: 152.8 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.3084, allocations: 25.7 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.3085, allocations: 100.4 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.3085, allocations: 23.66 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.3086, allocations: 33.7 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3088, allocations: 322.8 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3089, allocations: 47.91 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3091, allocations: 83.86 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.3094, allocations: 125 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3094, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003861/0.3098, allocations: 157.5 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3098, allocations: 6.031 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3099, allocations: 4 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3099, allocations: 3.984 kB / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.31, allocations: 23.92 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3101, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3102, allocations: 19.89 kB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3102, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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.0001184/0.3103, allocations: 125.8 kB / 1.07 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3104, allocations: 7.906 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.3104, allocations: 20.7 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3104, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3104, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3104, allocations: 112 / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3115, allocations: 0.5374 MB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3115, allocations: 0 / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.515e-05/0.3116, allocations: 11.98 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3116, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3116, allocations: 8.094 kB / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.3116, allocations: 15.86 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3117, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.3125, allocations: 323.2 kB / 1.071 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.3125, allocations: 81.02 kB / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.3126, allocations: 7.984 kB / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.3128, allocations: 27.91 kB / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3128, allocations: 7.984 kB / 1.071 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3129, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.257e-05/0.313, allocations: 121.5 kB / 1.071 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.313, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003559/0.3133, allocations: 44 kB / 1.071 GB, free: 7.141 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003999/0.3137, allocations: 164.9 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.3143, allocations: 151.8 kB / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3143, allocations: 0 / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.3147, allocations: 100.1 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.315, allocations: 4 kB / 1.072 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.3158, allocations: 326 kB / 1.072 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3161, allocations: 0.7 MB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.3161, allocations: 15.42 kB / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of SimCode: time 4.7e-07/0.3161, allocations: 0 / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of Templates: time 0.00469/0.3208, allocations: 2.135 MB / 1.075 GB, free: 3.516 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches