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.001654/0.001654, allocations: 104.9 kB / 16.27 MB, free: 5.895 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.001955/0.001955, allocations: 185 kB / 17.19 MB, free: 5.535 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.198/2.198, allocations: 390.2 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 62.05 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003053/0.2603, allocations: 1.667 MB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.2624, allocations: 1.372 MB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2625, allocations: 4 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.2629, allocations: 79.58 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.2631, allocations: 75.52 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.2638, allocations: 291.1 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.264, allocations: 179.2 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.264, allocations: 9.5 kB / 0.9538 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2641, allocations: 79.69 kB / 0.9539 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.2643, allocations: 87.59 kB / 0.954 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2643, allocations: 8 kB / 0.954 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.2648, allocations: 339.4 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.2649, allocations: 59.8 kB / 0.9544 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.265, allocations: 91.47 kB / 0.9545 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.2655, allocations: 406.8 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2655, allocations: 0 / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2655, allocations: 0 / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2656, allocations: 0 / 0.9549 GB, free: 4.148 MB / 0.7325 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.0008802/0.2664, allocations: 0.5452 MB / 0.9554 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2665, allocations: 12.02 kB / 0.9554 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.2666, allocations: 20.66 kB / 0.9554 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.2669, allocations: 275.7 kB / 0.9557 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.2671, allocations: 67.95 kB / 0.9558 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2671, allocations: 384 / 0.9558 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2674, allocations: 93.77 kB / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2674, allocations: 0 / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2674, allocations: 3.938 kB / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2674, allocations: 0 / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.2677, allocations: 103.9 kB / 0.956 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.2679, allocations: 257.3 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2693, allocations: 302.4 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.2695, allocations: 60.83 kB / 0.9565 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.2696, allocations: 97.09 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2697, allocations: 38.44 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.916e-06/0.2697, allocations: 0 / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004964/0.2702, allocations: 213.2 kB / 0.9569 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2702, allocations: 55.41 kB / 0.9569 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.2705, allocations: 303.1 kB / 0.9572 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2705, allocations: 25.7 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.2706, allocations: 116.6 kB / 0.9574 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.2706, allocations: 27.62 kB / 0.9574 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.2707, allocations: 57.69 kB / 0.9574 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2709, allocations: 338.8 kB / 0.9578 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.2711, allocations: 155.7 kB / 0.9579 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2713, allocations: 155.9 kB / 0.9581 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.2717, allocations: 301.6 kB / 0.9583 GB, free: 348 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2717, allocations: 0 / 0.9583 GB, free: 348 kB / 0.7325 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005759/0.2723, allocations: 397 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2723, allocations: 4 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.2723, allocations: 4 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2724, allocations: 0 / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2725, allocations: 19.98 kB / 0.9587 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2725, allocations: 0 / 0.9587 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2726, allocations: 35.53 kB / 0.9588 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2726, allocations: 0 / 0.9588 GB, free: 15.88 MB / 0.7481 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.0001181/0.2728, allocations: 139.7 kB / 0.9589 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.2728, allocations: 23.66 kB / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.2732, allocations: 163.5 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2732, allocations: 0 / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2732, allocations: 0 / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2732, allocations: 0 / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.2734, allocations: 233.6 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2734, allocations: 0 / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.2735, allocations: 19.92 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2735, allocations: 4 kB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2735, allocations: 4 kB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2735, allocations: 4.25 kB / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2735, allocations: 0 / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.2739, allocations: 184.8 kB / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.274, allocations: 108.8 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.274, allocations: 8 kB / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.2741, allocations: 0 / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.2742, allocations: 7.984 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2742, allocations: 4 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001749/0.2744, allocations: 193.9 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2744, allocations: 3.938 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004077/0.2748, allocations: 119.9 kB / 0.9599 GB, free: 14.58 MB / 0.7481 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.0004824/0.2753, allocations: 271 kB / 0.9602 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.2758, allocations: 355.2 kB / 0.9605 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2758, allocations: 0 / 0.9605 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.276, allocations: 67.91 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2763, allocations: 32.56 kB / 0.9606 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.2769, allocations: 425.8 kB / 0.961 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2772, allocations: 0.7398 MB / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.2773, allocations: 19.38 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2773, allocations: 0 / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.00519/0.2825, allocations: 3.171 MB / 0.9649 GB, free: 9.465 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TMonotone,errMonotone,errNonMonotone,time