Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.005469/0.005469, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001141/0.001141, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7233, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002285/0.7256, allocations: 1.569 MB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.7267, allocations: 0.765 MB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.7268, allocations: 9.25 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.7269, allocations: 3.984 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.7269, allocations: 9.25 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.7274, allocations: 110 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.7275, allocations: 106.3 kB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.7276, allocations: 13.47 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.7277, allocations: 42.42 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.7278, allocations: 47.92 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.7278, allocations: 5.344 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.728, allocations: 91.09 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.728, allocations: 27.64 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.7281, allocations: 38.52 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.7282, allocations: 120.5 kB / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7282, allocations: 0 / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.92e-07/0.7282, allocations: 0 / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.7282, allocations: 1.5 kB / 0.9525 GB, free: 6.902 MB / 0.7169 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.0005427/0.7288, allocations: 453.9 kB / 0.9529 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.7288, allocations: 9.719 kB / 0.9529 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.7289, allocations: 8.969 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.363e-05/0.729, allocations: 180.1 kB / 0.9531 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.729, allocations: 10.66 kB / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.729, allocations: 5.188 kB / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.7293, allocations: 94.56 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7293, allocations: 0 / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.7293, allocations: 1.5 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.7293, allocations: 0 / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.7295, allocations: 45.03 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.7301, allocations: 345.3 kB / 0.9536 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.7303, allocations: 66.2 kB / 0.9536 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.7304, allocations: 44.41 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.7304, allocations: 1.531 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.7307, allocations: 99.3 kB / 0.9538 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.264e-06/0.7307, allocations: 3.984 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005328/0.7312, allocations: 181.8 kB / 0.9539 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.7313, allocations: 56.72 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.7313, allocations: 127.8 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.7314, allocations: 34.77 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.7314, allocations: 90.61 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.7314, allocations: 19.36 kB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.7315, allocations: 30.73 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.7315, allocations: 325.1 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.7316, allocations: 32.48 kB / 0.9546 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.7317, allocations: 60.97 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.7319, allocations: 99.64 kB / 0.9548 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7319, allocations: 0 / 0.9548 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002425/0.7321, allocations: 133.1 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7322, allocations: 5.281 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.7322, allocations: 2 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.7322, allocations: 1.875 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.7323, allocations: 19.08 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7323, allocations: 1.562 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.7324, allocations: 12.31 kB / 0.9549 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.7324, allocations: 7.75 kB / 0.9549 GB, free: 4.574 MB / 0.7169 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 6.745e-05/0.7325, allocations: 123.6 kB / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.7325, allocations: 7.312 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.7325, allocations: 10.94 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7326, allocations: 0 / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.7326, allocations: 1.25 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7326, allocations: 0 / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.733, allocations: 433.5 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7331, allocations: 3.984 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.7331, allocations: 4.062 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7331, allocations: 0 / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.7331, allocations: 1.25 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7331, allocations: 9.047 kB / 0.9555 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7331, allocations: 3.938 kB / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.7335, allocations: 246.1 kB / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.7335, allocations: 83.36 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.7335, allocations: 5.875 kB / 0.9558 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.7336, allocations: 6.797 kB / 0.9558 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.7337, allocations: 6.969 kB / 0.9559 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.7337, allocations: 7.141 kB / 0.9559 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.7338, allocations: 103.1 kB / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7338, allocations: 0 / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003217/0.7341, allocations: 39.44 kB / 0.956 GB, free: 3.617 MB / 0.7169 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.0003125/0.7344, allocations: 166.9 kB / 0.9562 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.7347, allocations: 97.73 kB / 0.9562 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7347, allocations: 1.219 kB / 0.9562 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.7348, allocations: 45.92 kB / 0.9563 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.7351, allocations: 16.39 kB / 0.9563 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.7355, allocations: 246 kB / 0.9565 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.865e-05/0.7356, allocations: 0.6906 MB / 0.9572 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.7357, allocations: 14.86 kB / 0.9572 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7357, allocations: 0 / 0.9572 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.003149/0.7388, allocations: 1.781 MB / 0.959 GB, free: 1.574 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches