Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001493/0.001493, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001751/0.001751, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.822, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002502/0.8246, allocations: 1.512 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.826, allocations: 0.7646 MB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.826, allocations: 0 / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.8261, allocations: 5.156 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.8262, allocations: 15.33 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.8268, allocations: 136.2 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.827, allocations: 104.6 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.8271, allocations: 16.08 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.8272, allocations: 47.27 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.8273, allocations: 54.11 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.8274, allocations: 9.844 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.8276, allocations: 100.7 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.8276, allocations: 26.03 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.8277, allocations: 40.44 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.828, allocations: 165.9 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.828, allocations: 4 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.745e-06/0.828, allocations: 5.094 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.8281, allocations: 0.7031 kB / 1.092 GB, free: 3.648 MB / 0.8575 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.0006796/0.8287, allocations: 455 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8288, allocations: 9.031 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.8289, allocations: 9.984 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.935e-05/0.8289, allocations: 178.3 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.829, allocations: 7.641 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.829, allocations: 9.453 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.8293, allocations: 86.75 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.8293, allocations: 0 / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.8293, allocations: 5.406 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.8293, allocations: 1.5 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.8295, allocations: 50.84 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.8303, allocations: 343 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.8305, allocations: 62.92 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.8306, allocations: 43.41 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.8306, allocations: 1.922 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.8309, allocations: 102 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.8309, allocations: 0 / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005892/0.8315, allocations: 183 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.8316, allocations: 54.75 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.8317, allocations: 130.5 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.8317, allocations: 27.55 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.8318, allocations: 96.64 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.8318, allocations: 25.02 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.8318, allocations: 26.45 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.8319, allocations: 323.6 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.078e-05/0.832, allocations: 30.72 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.8321, allocations: 70.27 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.8323, allocations: 104.1 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8323, allocations: 4 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00028/0.8326, allocations: 126.7 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.8326, allocations: 10.58 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8326, allocations: 0.9375 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8326, allocations: 1.75 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.8328, allocations: 14.25 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8328, allocations: 2.172 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.8329, allocations: 6.141 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.8329, allocations: 12.89 kB / 1.094 GB, free: 1.531 MB / 0.8575 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.156e-05/0.833, allocations: 128.4 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.833, allocations: 8.312 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.833, allocations: 11.28 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.833, allocations: 1.406 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8331, allocations: 0 / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8331, allocations: 1.375 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.8336, allocations: 433 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8336, allocations: 0.5625 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.8337, allocations: 13.58 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.8337, allocations: 0.7031 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.8337, allocations: 3.547 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8337, allocations: 0.8125 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8337, allocations: 3.938 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.8341, allocations: 241.2 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.8342, allocations: 84.12 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.8342, allocations: 2.234 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.8343, allocations: 10.73 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.8344, allocations: 9 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.8344, allocations: 5.172 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.8344, allocations: 103 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8344, allocations: 0 / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003723/0.8348, allocations: 36.97 kB / 1.095 GB, free: 0.6602 MB / 0.8575 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.0003663/0.8352, allocations: 182.9 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.8355, allocations: 93.84 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8356, allocations: 1.25 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.8357, allocations: 46.48 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.836, allocations: 10.81 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.8365, allocations: 244.7 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.8367, allocations: 0.693 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.8368, allocations: 12.62 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8368, allocations: 0.7812 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.006164/0.8429, allocations: 1.806 MB / 1.098 GB, free: 15.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches