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.008702/0.008702, allocations: 102.4 kB / 15.73 MB, free: 6.48 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.001829/0.001829, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.471/2.471, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.5 kB / 0.9508 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3236, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003113/0.3268, allocations: 1.666 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.3291, allocations: 1.377 MB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.3293, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.3298, allocations: 79.59 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.3301, allocations: 75.52 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.3311, allocations: 283.2 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.3314, allocations: 187.2 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.3314, allocations: 13.47 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3316, allocations: 79.69 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3317, allocations: 79.62 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.3318, allocations: 8 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.3324, allocations: 343.4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3325, allocations: 67.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3326, allocations: 91.47 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006964/0.3333, allocations: 406.8 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3334, allocations: 0 / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3334, allocations: 0 / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.3334, allocations: 0 / 1.093 GB, free: 12.74 MB / 0.8575 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.001058/0.3344, allocations: 0.5452 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3345, allocations: 8.031 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.3346, allocations: 28.55 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.3351, allocations: 279.7 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.3352, allocations: 63.95 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3352, allocations: 4.375 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.3355, allocations: 93.72 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3355, allocations: 0 / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3355, allocations: 4 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3355, allocations: 0 / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.3358, allocations: 103.9 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.3361, allocations: 257.3 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.3375, allocations: 294.4 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3376, allocations: 60.83 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.3378, allocations: 105.1 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3378, allocations: 38.44 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3378, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005255/0.3384, allocations: 201.3 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.3384, allocations: 63.34 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.3387, allocations: 307 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3388, allocations: 25.7 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3388, allocations: 124.6 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.3389, allocations: 19.66 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.339, allocations: 57.69 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3391, allocations: 330.8 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3393, allocations: 159.9 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.3395, allocations: 151.9 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.3399, allocations: 297.6 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.34, allocations: 4 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005468/0.3405, allocations: 396.8 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3405, allocations: 9.562 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3406, allocations: 0 / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3406, allocations: 0 / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.3407, allocations: 19.98 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3407, allocations: 4 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3408, allocations: 35.52 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3409, allocations: 4 kB / 1.096 GB, free: 8.461 MB / 0.8575 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.0001133/0.341, allocations: 129.8 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.341, allocations: 23.66 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.3414, allocations: 167.5 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3414, allocations: 4 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3414, allocations: 0 / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3414, allocations: 3.984 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3416, allocations: 229.6 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3416, allocations: 0 / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.3417, allocations: 27.86 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3417, allocations: 0 / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3418, allocations: 0 / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3418, allocations: 4 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3418, allocations: 4.312 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.3421, allocations: 184.7 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.3422, allocations: 108.8 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.3422, allocations: 0 / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.3423, allocations: 11.98 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.3424, allocations: 7.938 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3424, allocations: 4 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001817/0.3426, allocations: 193.9 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3426, allocations: 0 / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004105/0.343, allocations: 115.9 kB / 1.098 GB, free: 7.168 MB / 0.8575 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.0005639/0.3436, allocations: 270.9 kB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005457/0.3441, allocations: 355.1 kB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3441, allocations: 3.938 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3443, allocations: 67.89 kB / 1.098 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3446, allocations: 32.62 kB / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.3452, allocations: 380.3 kB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3455, allocations: 0.7357 MB / 1.099 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.786e-05/0.3456, allocations: 17.39 kB / 1.099 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.3457, allocations: 27.38 kB / 1.099 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.3457, allocations: 0 / 1.099 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of Templates: time 0.007244/0.3529, allocations: 3.151 MB / 1.103 GB, free: 2.113 MB / 0.8575 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