Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001785/0.001786, allocations: 192.1 kB / 16.14 MB, free: 6.711 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.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.341/2.341, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7255, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003101/0.7286, allocations: 1.644 MB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.7302, allocations: 0.7895 MB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.7303, allocations: 0.9062 kB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.028e-05/0.7303, allocations: 3.938 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.7304, allocations: 18.06 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006439/0.7311, allocations: 122.5 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.7313, allocations: 128 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.7314, allocations: 25.06 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.7315, allocations: 52.45 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.7316, allocations: 73.3 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.7317, allocations: 7 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.7319, allocations: 92.38 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.7319, allocations: 23.53 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.732, allocations: 53.11 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.7322, allocations: 186.8 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7322, allocations: 3.938 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7322, allocations: 0 / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.7323, allocations: 0 / 0.952 GB, free: 6.777 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006946/0.733, allocations: 483.5 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.733, allocations: 9.156 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.7331, allocations: 14.28 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.78e-05/0.7332, allocations: 184.8 kB / 0.9527 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.7332, allocations: 7.562 kB / 0.9527 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.7332, allocations: 8.781 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.7335, allocations: 103.7 kB / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7335, allocations: 0 / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.7335, allocations: 0 / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7335, allocations: 5.375 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.7337, allocations: 66.48 kB / 0.9529 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.7345, allocations: 375.2 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.7346, allocations: 65.14 kB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.7348, allocations: 57.55 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.7348, allocations: 1.469 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.7351, allocations: 102 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.7351, allocations: 1.219 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005551/0.7356, allocations: 217.3 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.7357, allocations: 53.81 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.7358, allocations: 149.1 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.7358, allocations: 32.39 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.7358, allocations: 100.3 kB / 0.954 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.7359, allocations: 15.14 kB / 0.954 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.7359, allocations: 35.89 kB / 0.954 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.736, allocations: 321.8 kB / 0.9544 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.7361, allocations: 41.66 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.7362, allocations: 78.83 kB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.7365, allocations: 116.9 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7365, allocations: 1.125 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003109/0.7368, allocations: 149.8 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.7368, allocations: 5.781 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7369, allocations: 1.25 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7369, allocations: 6.25 kB / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.737, allocations: 24.12 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.737, allocations: 6.25 kB / 0.9548 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.7371, allocations: 13.59 kB / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.7372, allocations: 8.625 kB / 0.9548 GB, free: 4.312 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.71e-05/0.7373, allocations: 128.7 kB / 0.9549 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.7373, allocations: 15.66 kB / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.7373, allocations: 15.44 kB / 0.9549 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.7373, allocations: 1.188 kB / 0.9549 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.7373, allocations: 5.438 kB / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7374, allocations: 0 / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.7379, allocations: 457 kB / 0.9554 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7379, allocations: 0 / 0.9554 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.738, allocations: 10.23 kB / 0.9554 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.738, allocations: 3.938 kB / 0.9554 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.738, allocations: 10.61 kB / 0.9554 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.738, allocations: 0 / 0.9554 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.738, allocations: 0 / 0.9554 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.7384, allocations: 263.1 kB / 0.9557 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.7384, allocations: 91.52 kB / 0.9557 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.7384, allocations: 4.922 kB / 0.9557 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7386, allocations: 12.19 kB / 0.9558 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.7386, allocations: 7.172 kB / 0.9558 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.7387, allocations: 6.922 kB / 0.9558 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.7387, allocations: 104.6 kB / 0.9559 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7387, allocations: 0 / 0.9559 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003471/0.7391, allocations: 50.33 kB / 0.9559 GB, free: 3.309 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.000344/0.7394, allocations: 174.4 kB / 0.9561 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.7397, allocations: 106.7 kB / 0.9562 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7398, allocations: 0 / 0.9562 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.7399, allocations: 58.94 kB / 0.9562 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.7402, allocations: 20.81 kB / 0.9563 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.7407, allocations: 249.5 kB / 0.9565 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.7408, allocations: 0.6998 MB / 0.9572 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7e-05/0.7409, allocations: 7.766 kB / 0.9572 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.7409, allocations: 10.09 kB / 0.9572 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7409, allocations: 3.031 kB / 0.9572 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of Templates: time 0.004535/0.7455, allocations: 1.848 MB / 0.959 GB, free: 1.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches