Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001502/0.001502, allocations: 102.7 kB / 15.98 MB, free: 6.348 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.001495/0.001495, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.658/2.658, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 60.2 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2954, allocations: 159.2 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002729/0.2982, allocations: 1.568 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2995, allocations: 0.748 MB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.2995, allocations: 3.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.2996, allocations: 3.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.2996, allocations: 15.91 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.3002, allocations: 123.8 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3003, allocations: 99.77 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.3004, allocations: 11.97 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.3005, allocations: 47.84 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.3006, allocations: 51.81 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.3006, allocations: 8 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.3008, allocations: 103.8 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.3008, allocations: 23.97 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.3009, allocations: 51.7 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3011, allocations: 120 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.3011, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3011, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3011, allocations: 0 / 1.067 GB, free: 12.14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006836/0.3018, allocations: 450.7 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3018, allocations: 12.62 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.3019, allocations: 8.844 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.302, allocations: 177.6 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.3021, allocations: 12.31 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3021, allocations: 8.312 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3024, allocations: 89.94 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3024, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3024, allocations: 3.984 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3024, allocations: 4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3026, allocations: 47.97 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.3034, allocations: 344.5 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.3036, allocations: 62.55 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3037, allocations: 52.83 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3038, allocations: 4.141 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.304, allocations: 91.39 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 3.707e-06/0.304, allocations: 3.984 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005727/0.3046, allocations: 189.5 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3047, allocations: 51.41 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3048, allocations: 133.3 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3048, allocations: 25.7 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.3049, allocations: 100 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3049, allocations: 19.8 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.305, allocations: 33.7 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3051, allocations: 330.8 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.3052, allocations: 27.98 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3054, allocations: 68.2 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.3055, allocations: 92.22 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3056, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002688/0.3058, allocations: 129.5 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3059, allocations: 4 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3059, allocations: 3.938 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3059, allocations: 4.094 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.306, allocations: 19.92 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.306, allocations: 4 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3061, allocations: 11.94 kB / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3062, allocations: 7.984 kB / 1.07 GB, free: 9.309 MB / 0.8419 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.0001081/0.3063, allocations: 127.9 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.3063, allocations: 3.906 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3063, allocations: 12.38 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3063, allocations: 4 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3063, allocations: 3.938 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3064, allocations: 3.984 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.307, allocations: 430.3 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.307, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.307, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3071, allocations: 7.922 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3071, allocations: 4 kB / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3071, allocations: 0 / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3071, allocations: 4.328 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.3075, allocations: 239.5 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.3076, allocations: 89 kB / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3076, allocations: 8.062 kB / 1.07 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.3077, allocations: 8 kB / 1.07 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3078, allocations: 11.92 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3078, allocations: 7.984 kB / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.3079, allocations: 99.27 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3079, allocations: 0 / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003156/0.3082, allocations: 39.94 kB / 1.071 GB, free: 8.125 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: 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.0003687/0.3086, allocations: 170.8 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.3089, allocations: 95.88 kB / 1.071 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3089, allocations: 0 / 1.071 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3091, allocations: 47.97 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3093, allocations: 14.38 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.3098, allocations: 249.8 kB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3102, allocations: 0.6924 MB / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3102, allocations: 11.44 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of SimCode: time 2.034e-06/0.3102, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of Templates: time 0.003911/0.3142, allocations: 1.811 MB / 1.074 GB, free: 4.992 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches