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 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.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.00151/0.00151, allocations: 102 kB / 16.27 MB, free: 5.855 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.001726/0.001726, allocations: 185.4 kB / 17.19 MB, free: 5.504 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 72.42 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3028, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.004312/0.3072, allocations: 1.522 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3088, allocations: 0.7557 MB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.3089, allocations: 3.938 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.648e-05/0.309, allocations: 7.922 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.3091, allocations: 11.86 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.3099, allocations: 143.5 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3101, allocations: 91.83 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3102, allocations: 15.98 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3104, allocations: 55.77 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3105, allocations: 51.81 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.3105, allocations: 12 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.3108, allocations: 95.91 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.3108, allocations: 19.97 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.3109, allocations: 47.72 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.3112, allocations: 159.8 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3112, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3112, allocations: 7.938 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3112, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007688/0.312, allocations: 450.7 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.312, allocations: 12.03 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.3121, allocations: 12.83 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3123, allocations: 176.2 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.3123, allocations: 4.375 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3123, allocations: 8.375 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3126, allocations: 93.88 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3126, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3126, allocations: 3.938 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.3126, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3128, allocations: 43.97 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.3137, allocations: 352.5 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3139, allocations: 66.55 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.314, allocations: 40.83 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.314, allocations: 7.984 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.3143, allocations: 95.34 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.3143, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.000552/0.3149, allocations: 185.7 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3149, allocations: 51.41 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3151, allocations: 132.6 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3151, allocations: 29.7 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.3152, allocations: 100 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3152, allocations: 11.81 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.3153, allocations: 33.7 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3155, allocations: 322.8 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3156, allocations: 27.98 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3157, allocations: 68.27 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.316, allocations: 88.2 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.316, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003014/0.3163, allocations: 129.4 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3163, allocations: 8 kB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3163, allocations: 0 / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3164, allocations: 4 kB / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3165, allocations: 19.98 kB / 1.07 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3165, allocations: 7.938 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3166, allocations: 15.92 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3167, allocations: 4 kB / 1.07 GB, free: 9.211 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.0001295/0.3168, allocations: 123.8 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3168, allocations: 7.906 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.3169, allocations: 12.38 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3169, allocations: 0 / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3169, allocations: 0 / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3169, allocations: 3.984 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.3176, allocations: 434.3 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3176, allocations: 3.938 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.3176, allocations: 4 kB / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3176, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3177, allocations: 7.984 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3177, allocations: 4 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3177, allocations: 3.938 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.3181, allocations: 243.4 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3181, allocations: 85.02 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3182, allocations: 0 / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3183, allocations: 7.984 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3183, allocations: 7.938 kB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3184, allocations: 11.98 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.3184, allocations: 95.27 kB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3184, allocations: 0 / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003418/0.3188, allocations: 47.94 kB / 1.071 GB, free: 8.031 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.0003665/0.3191, allocations: 160.5 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.3195, allocations: 96.28 kB / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3195, allocations: 4.188 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3196, allocations: 47.97 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3199, allocations: 12.27 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.3204, allocations: 225.9 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3207, allocations: 0.6884 MB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.3208, allocations: 19.42 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.3208, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of Templates: time 0.00402/0.3248, allocations: 1.793 MB / 1.074 GB, free: 4.949 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches