Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 108 kB / 15.61 MB, free: 152 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.001848/0.001848, allocations: 197 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.485/2.485, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7278, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.0025/0.7303, allocations: 1.67 MB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.7321, allocations: 1.357 MB / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.7322, allocations: 3.312 kB / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.7326, allocations: 87.8 kB / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.7328, allocations: 82.83 kB / 0.9527 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.7334, allocations: 280.8 kB / 0.953 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.7336, allocations: 188.2 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.7337, allocations: 15.73 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.7338, allocations: 77.69 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.7339, allocations: 90.22 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.734, allocations: 7.688 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.7345, allocations: 336.2 kB / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.7346, allocations: 61.7 kB / 0.9537 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.7346, allocations: 92.75 kB / 0.9538 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.7351, allocations: 395 kB / 0.9542 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7351, allocations: 0 / 0.9542 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7351, allocations: 0 / 0.9542 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.7351, allocations: 0.9688 kB / 0.9542 GB, free: 5.699 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007312/0.7359, allocations: 0.5589 MB / 0.9547 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7359, allocations: 10.28 kB / 0.9547 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.736, allocations: 25.5 kB / 0.9547 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.7363, allocations: 275.7 kB / 0.955 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.7364, allocations: 62.12 kB / 0.9551 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.7364, allocations: 3.125 kB / 0.9551 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.7367, allocations: 96.23 kB / 0.9552 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7367, allocations: 0 / 0.9552 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7367, allocations: 0 / 0.9552 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7367, allocations: 1.469 kB / 0.9552 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.7369, allocations: 102.1 kB / 0.9553 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.7372, allocations: 257.3 kB / 0.9555 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.7386, allocations: 298.7 kB / 0.9558 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.7387, allocations: 54.05 kB / 0.9558 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.7389, allocations: 99.34 kB / 0.9559 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.7389, allocations: 36 kB / 0.956 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.7389, allocations: 0 / 0.956 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004808/0.7394, allocations: 213.5 kB / 0.9562 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.7394, allocations: 52.59 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.7396, allocations: 301.5 kB / 0.9565 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.7397, allocations: 29.7 kB / 0.9565 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.7397, allocations: 120.1 kB / 0.9567 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.7398, allocations: 21.91 kB / 0.9567 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/0.7398, allocations: 63.78 kB / 0.9567 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.7399, allocations: 337.4 kB / 0.9571 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.7401, allocations: 156.3 kB / 0.9572 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.7403, allocations: 153.7 kB / 0.9574 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.7407, allocations: 303.3 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.7407, allocations: 1.188 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005778/0.7413, allocations: 390.8 kB / 0.958 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7413, allocations: 11.16 kB / 0.958 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.7413, allocations: 1.562 kB / 0.958 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7414, allocations: 1.094 kB / 0.958 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.7415, allocations: 14.95 kB / 0.958 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7415, allocations: 1.219 kB / 0.958 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.7416, allocations: 34.84 kB / 0.9581 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.7416, allocations: 3.125 kB / 0.9581 GB, free: 2.844 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001024/0.7417, allocations: 142.4 kB / 0.9582 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.7418, allocations: 23.19 kB / 0.9582 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.7422, allocations: 164.8 kB / 0.9584 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7422, allocations: 0.9688 kB / 0.9584 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.7422, allocations: 4.062 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7422, allocations: 5.172 kB / 0.9584 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.7424, allocations: 241 kB / 0.9586 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7424, allocations: 0.8125 kB / 0.9586 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.7425, allocations: 18.89 kB / 0.9587 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.7425, allocations: 1.156 kB / 0.9587 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.7425, allocations: 1.062 kB / 0.9587 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7425, allocations: 0 / 0.9587 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7425, allocations: 5.094 kB / 0.9587 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.7428, allocations: 186.9 kB / 0.9588 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.7429, allocations: 104.1 kB / 0.9589 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.7429, allocations: 1.25 kB / 0.9589 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.743, allocations: 6.906 kB / 0.9589 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.7431, allocations: 6.328 kB / 0.959 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.7431, allocations: 2.438 kB / 0.959 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001575/0.7433, allocations: 201.5 kB / 0.9591 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7433, allocations: 0 / 0.9591 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004753/0.7438, allocations: 111.9 kB / 0.9593 GB, free: 1.949 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0004877/0.7443, allocations: 269.2 kB / 0.9595 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.7448, allocations: 359.6 kB / 0.9599 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7448, allocations: 1.438 kB / 0.9599 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.745, allocations: 64.23 kB / 0.9599 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.7453, allocations: 43.77 kB / 0.96 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.7459, allocations: 393.1 kB / 0.9603 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.7461, allocations: 0.745 MB / 0.9611 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.172e-05/0.7462, allocations: 13.23 kB / 0.9611 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.7463, allocations: 17.88 kB / 0.9611 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7463, allocations: 3.938 kB / 0.9611 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of Templates: time 0.00802/0.7543, allocations: 3.148 MB / 0.9642 GB, free: 14.98 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches