Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001054/0.001054, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001062/0.001062, allocations: 190.7 kB / 17.29 MB, free: 5.48 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.19 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3123, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002809/0.3151, allocations: 1.683 MB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.3171, allocations: 1.369 MB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3172, allocations: 11.94 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.3176, allocations: 79.58 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3178, allocations: 75.52 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.3185, allocations: 271.1 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.3187, allocations: 191.2 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.3188, allocations: 17.48 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3189, allocations: 83.62 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.319, allocations: 87.59 kB / 1.023 GB, free: 5.953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3191, allocations: 4 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.3196, allocations: 335.4 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.3197, allocations: 71.78 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.3197, allocations: 87.47 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.3202, allocations: 398.8 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3203, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3203, allocations: 7.938 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3203, allocations: 4 kB / 1.023 GB, free: 5.062 MB / 0.795 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.0008518/0.3211, allocations: 0.549 MB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3212, allocations: 12.03 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.3213, allocations: 20.66 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3217, allocations: 279.6 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3218, allocations: 59.97 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.3218, allocations: 384 / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.322, allocations: 93.78 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.322, allocations: 0 / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.322, allocations: 7.984 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3221, allocations: 0 / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.3223, allocations: 99.88 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.3226, allocations: 261.3 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.3239, allocations: 294.4 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3241, allocations: 56.83 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.3242, allocations: 97.09 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3242, allocations: 38.5 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3242, allocations: 0 / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000472/0.3247, allocations: 213.3 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3248, allocations: 55.41 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.325, allocations: 303 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3251, allocations: 29.7 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.3252, allocations: 124.6 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3252, allocations: 23.66 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.3253, allocations: 57.67 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3254, allocations: 330.8 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3256, allocations: 155.9 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.3258, allocations: 159.9 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.3262, allocations: 293.4 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3262, allocations: 3.938 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005497/0.3268, allocations: 408.8 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3268, allocations: 4 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3268, allocations: 4 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3268, allocations: 0 / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3269, allocations: 15.98 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3269, allocations: 0 / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3271, allocations: 31.53 kB / 1.027 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3271, allocations: 8 kB / 1.027 GB, free: 0.7969 MB / 0.795 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.0001138/0.3272, allocations: 130.5 kB / 1.027 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.3272, allocations: 23.66 kB / 1.027 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.3276, allocations: 167.4 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3276, allocations: 7.922 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3276, allocations: 4 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3276, allocations: 0 / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3279, allocations: 237.6 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3279, allocations: 4 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.328, allocations: 11.94 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.328, allocations: 3.984 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.328, allocations: 4 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.328, allocations: 0 / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.328, allocations: 0 / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.3283, allocations: 185 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.3284, allocations: 104.8 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.3285, allocations: 12.05 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.3285, allocations: 0 / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.3286, allocations: 15.98 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3286, allocations: 7.938 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001551/0.3288, allocations: 193.9 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3288, allocations: 0 / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004127/0.3292, allocations: 119.9 kB / 1.028 GB, free: 15.48 MB / 0.8106 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.0004753/0.3297, allocations: 243.1 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.3302, allocations: 363.2 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3302, allocations: 0 / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3303, allocations: 59.97 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3307, allocations: 34.12 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.3313, allocations: 404.1 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3316, allocations: 0.7396 MB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.454e-05/0.3317, allocations: 17.39 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.3317, allocations: 19.42 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3317, allocations: 0 / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of Templates: time 0.006586/0.3383, allocations: 3.136 MB / 1.033 GB, free: 10.46 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches