Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.332 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.346/2.346, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6123/0.6127, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001443/0.6142, allocations: 1.221 MB / 0.9569 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.6153, allocations: 0.7128 MB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.6154, allocations: 5.25 kB / 0.9576 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.6154, allocations: 0 / 0.9576 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.6155, allocations: 9.438 kB / 0.9576 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.616, allocations: 105.3 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.6161, allocations: 77.52 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.6162, allocations: 13.39 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.6163, allocations: 30.22 kB / 0.9578 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.6164, allocations: 36.67 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.6164, allocations: 1.25 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.6166, allocations: 97.53 kB / 0.958 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.6166, allocations: 14.12 kB / 0.958 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.6166, allocations: 54.88 kB / 0.958 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.6168, allocations: 103 kB / 0.9581 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6168, allocations: 2.031 kB / 0.9581 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6168, allocations: 0 / 0.9581 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.6168, allocations: 0 / 0.9581 GB, free: 5.828 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004681/0.6173, allocations: 412.4 kB / 0.9585 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6173, allocations: 10.03 kB / 0.9585 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.6174, allocations: 7.844 kB / 0.9585 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.335e-05/0.6175, allocations: 168.8 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.6175, allocations: 1.969 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.6175, allocations: 4.719 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.6177, allocations: 78.81 kB / 0.9588 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.6177, allocations: 0 / 0.9588 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6177, allocations: 1.375 kB / 0.9588 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6177, allocations: 7.984 kB / 0.9588 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.6179, allocations: 38.11 kB / 0.9588 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.6184, allocations: 334.3 kB / 0.9591 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.6185, allocations: 52.03 kB / 0.9592 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.6186, allocations: 33.12 kB / 0.9592 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.6187, allocations: 1.812 kB / 0.9592 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.6188, allocations: 85.41 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.6188, allocations: 3.938 kB / 0.9593 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003705/0.6192, allocations: 139.3 kB / 0.9594 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.6193, allocations: 62.09 kB / 0.9595 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.6193, allocations: 125 kB / 0.9596 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6194, allocations: 25.7 kB / 0.9596 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.6194, allocations: 94.86 kB / 0.9597 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.6194, allocations: 18.55 kB / 0.9597 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.6194, allocations: 17.84 kB / 0.9598 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.6195, allocations: 325.5 kB / 0.9601 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.6196, allocations: 28.48 kB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.6197, allocations: 55.17 kB / 0.9602 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.6198, allocations: 79.31 kB / 0.9602 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6199, allocations: 1.594 kB / 0.9602 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002277/0.6201, allocations: 113.6 kB / 0.9603 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6201, allocations: 5.5 kB / 0.9603 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6201, allocations: 1.062 kB / 0.9603 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6201, allocations: 1.625 kB / 0.9603 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.6202, allocations: 16.92 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6203, allocations: 5.656 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.6203, allocations: 13 kB / 0.9604 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.6204, allocations: 7.703 kB / 0.9604 GB, free: 3.695 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.372e-05/0.6204, allocations: 122.5 kB / 0.9605 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.6204, allocations: 7.281 kB / 0.9605 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.6205, allocations: 13.7 kB / 0.9605 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.6205, allocations: 5.344 kB / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6205, allocations: 0 / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6205, allocations: 3.938 kB / 0.9605 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.6209, allocations: 385.1 kB / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6209, allocations: 0 / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.6209, allocations: 8.391 kB / 0.9609 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6209, allocations: 8.938 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6209, allocations: 1.031 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.621, allocations: 1.188 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.621, allocations: 3.938 kB / 0.9609 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.6212, allocations: 210.5 kB / 0.9611 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.6212, allocations: 87.14 kB / 0.9612 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.6213, allocations: 9 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.6214, allocations: 12.27 kB / 0.9612 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.6214, allocations: 7 kB / 0.9612 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.6214, allocations: 1.969 kB / 0.9612 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.6215, allocations: 92.48 kB / 0.9613 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6215, allocations: 0 / 0.9613 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002996/0.6218, allocations: 41.27 kB / 0.9614 GB, free: 2.781 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003008/0.6221, allocations: 167.2 kB / 0.9615 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.6223, allocations: 70.64 kB / 0.9616 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6223, allocations: 5.5 kB / 0.9616 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.6224, allocations: 47.28 kB / 0.9616 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.6227, allocations: 5.812 kB / 0.9616 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.623, allocations: 232.3 kB / 0.9619 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.6232, allocations: 0.6891 MB / 0.9625 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.6232, allocations: 14.19 kB / 0.9626 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6232, allocations: 0 / 0.9626 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.003174/0.6264, allocations: 1.607 MB / 0.9641 GB, free: 0.8555 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches