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.001626/0.001626, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001953/0.001953, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.479/2.479, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7359/0.7373, allocations: 140.4 MB / 0.9491 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002529/0.7399, allocations: 1.73 MB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.7416, allocations: 1.364 MB / 0.9521 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.7417, allocations: 4.688 kB / 0.9521 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.7421, allocations: 82.81 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.7423, allocations: 70.11 kB / 0.9523 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.743, allocations: 256.5 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.7432, allocations: 180.1 kB / 0.9527 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.7432, allocations: 15.75 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.7434, allocations: 85.09 kB / 0.9528 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.7435, allocations: 85.22 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.7435, allocations: 7.094 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.744, allocations: 340.4 kB / 0.9532 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.7441, allocations: 69.8 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.7442, allocations: 88.36 kB / 0.9533 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.7446, allocations: 405.6 kB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7446, allocations: 0 / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7447, allocations: 1.656 kB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7447, allocations: 0 / 0.9537 GB, free: 5.812 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.0007865/0.7455, allocations: 0.5557 MB / 0.9543 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7455, allocations: 9.188 kB / 0.9543 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.7456, allocations: 21.25 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.7459, allocations: 287.8 kB / 0.9546 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.746, allocations: 65.86 kB / 0.9546 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.746, allocations: 3.625 kB / 0.9546 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.7462, allocations: 91.06 kB / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7463, allocations: 0 / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.7463, allocations: 3.906 kB / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7463, allocations: 0 / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.7465, allocations: 105.5 kB / 0.9548 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.7468, allocations: 246 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.7482, allocations: 305 kB / 0.9554 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.7483, allocations: 57.02 kB / 0.9554 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.7484, allocations: 100.2 kB / 0.9555 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.7485, allocations: 36.22 kB / 0.9555 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.7485, allocations: 0 / 0.9555 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004661/0.7489, allocations: 209.4 kB / 0.9557 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.749, allocations: 52.75 kB / 0.9558 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.7492, allocations: 305.3 kB / 0.9561 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.7492, allocations: 25.7 kB / 0.9561 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.7493, allocations: 127.6 kB / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.7493, allocations: 15.41 kB / 0.9562 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.7494, allocations: 63.53 kB / 0.9563 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.7495, allocations: 333.2 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.7497, allocations: 156.3 kB / 0.9568 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.7499, allocations: 161 kB / 0.9569 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.7502, allocations: 292.5 kB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7502, allocations: 0 / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005836/0.7508, allocations: 395.2 kB / 0.9576 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7509, allocations: 9.406 kB / 0.9576 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.7509, allocations: 6.016 kB / 0.9576 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7509, allocations: 5.062 kB / 0.9576 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.751, allocations: 14.59 kB / 0.9576 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.751, allocations: 1 kB / 0.9576 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.7511, allocations: 43.27 kB / 0.9577 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.7512, allocations: 3.344 kB / 0.9577 GB, free: 2.941 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 8.934e-05/0.7513, allocations: 133.8 kB / 0.9578 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.7513, allocations: 24.09 kB / 0.9578 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.7517, allocations: 164.3 kB / 0.958 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7517, allocations: 0.875 kB / 0.958 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7517, allocations: 0 / 0.958 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7517, allocations: 5.078 kB / 0.958 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.7519, allocations: 238 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7519, allocations: 3.984 kB / 0.9582 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.752, allocations: 18.84 kB / 0.9582 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.752, allocations: 1.125 kB / 0.9582 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.7521, allocations: 1.094 kB / 0.9582 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7521, allocations: 0 / 0.9582 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7521, allocations: 1.125 kB / 0.9582 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.7524, allocations: 190.2 kB / 0.9584 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.7525, allocations: 104.4 kB / 0.9585 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.7525, allocations: 5.094 kB / 0.9585 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.7526, allocations: 7.297 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.7526, allocations: 2.375 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.7526, allocations: 2.344 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001571/0.7528, allocations: 205.6 kB / 0.9587 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7528, allocations: 0 / 0.9587 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004946/0.7533, allocations: 105 kB / 0.9588 GB, free: 2.066 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.0004979/0.7538, allocations: 268.2 kB / 0.9591 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.7544, allocations: 364.2 kB / 0.9594 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7544, allocations: 0 / 0.9594 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.7545, allocations: 65.75 kB / 0.9595 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.7548, allocations: 30.3 kB / 0.9595 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.7555, allocations: 440.5 kB / 0.9599 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.7556, allocations: 0.7404 MB / 0.9607 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.157e-05/0.7557, allocations: 18.25 kB / 0.9607 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.7558, allocations: 19.28 kB / 0.9607 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of SimCode: time 8.61e-07/0.7558, allocations: 0 / 0.9607 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.00702/0.7628, allocations: 3.101 MB / 0.9637 GB, free: 15.08 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