Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.066/3.066, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.234e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003264/0.003296, allocations: 1.703 MB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.005943, allocations: 1.345 MB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.006055, allocations: 8.594 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.006492, allocations: 83.47 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.006661, allocations: 77.77 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009937/0.007655, allocations: 288.9 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.007929, allocations: 191.1 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.007977, allocations: 5.688 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.008186, allocations: 116.2 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.008337, allocations: 72.28 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.008366, allocations: 8.531 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000621/0.008987, allocations: 327.4 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.009101, allocations: 77 kB / 0.815 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.009211, allocations: 55.86 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.009914, allocations: 446.7 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.009918, allocations: 0.5312 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.512e-06/0.009919, allocations: 0 / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.009925, allocations: 1.375 kB / 0.8154 GB, free: 13.34 MB / 0.7761 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.001086/0.01101, allocations: 0.5863 MB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01105, allocations: 11.97 kB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.01115, allocations: 25.52 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.01161, allocations: 232.2 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.0118, allocations: 141.1 kB / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.01182, allocations: 8.375 kB / 0.8164 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.01202, allocations: 60.08 kB / 0.8165 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.01203, allocations: 192 / 0.8165 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.01205, allocations: 12.12 kB / 0.8165 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01205, allocations: 0 / 0.8165 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.01229, allocations: 54.55 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.01263, allocations: 208.5 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.01407, allocations: 236 kB / 0.817 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.0142, allocations: 35.67 kB / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.01433, allocations: 24.39 kB / 0.817 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.01437, allocations: 46.45 kB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.01438, allocations: 0 / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004948/0.01487, allocations: 140.1 kB / 0.8172 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.01492, allocations: 55.34 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.01532, allocations: 366.2 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.01534, allocations: 30.8 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01547, allocations: 175.2 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.01551, allocations: 19.84 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01561, allocations: 68.47 kB / 0.8179 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002989/0.01591, allocations: 0.5157 MB / 0.8184 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.01609, allocations: 61.08 kB / 0.8184 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.01624, allocations: 68.64 kB / 0.8185 GB, free: 10 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.01658, allocations: 180.8 kB / 0.8187 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01658, allocations: 0 / 0.8187 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004899/0.01707, allocations: 252 kB / 0.8189 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01709, allocations: 4 kB / 0.8189 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.0171, allocations: 4 kB / 0.8189 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01712, allocations: 0 / 0.8189 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01723, allocations: 20.86 kB / 0.8189 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01723, allocations: 256 / 0.8189 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01736, allocations: 32.77 kB / 0.819 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01737, allocations: 8 kB / 0.819 GB, free: 9.512 MB / 0.7761 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.0001411/0.01752, allocations: 173.6 kB / 0.8192 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.01756, allocations: 23.81 kB / 0.8192 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.01795, allocations: 123.9 kB / 0.8193 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01796, allocations: 0 / 0.8193 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.01796, allocations: 3.938 kB / 0.8193 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01796, allocations: 0 / 0.8193 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.0182, allocations: 192.5 kB / 0.8195 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.0182, allocations: 0 / 0.8195 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.0183, allocations: 15.94 kB / 0.8195 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.0183, allocations: 4.703 kB / 0.8195 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01832, allocations: 4 kB / 0.8195 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01832, allocations: 1.656 kB / 0.8195 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01832, allocations: 0 / 0.8195 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.01865, allocations: 148.2 kB / 0.8196 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.01873, allocations: 31.8 kB / 0.8197 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.01876, allocations: 4 kB / 0.8197 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01887, allocations: 7.984 kB / 0.8197 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.01892, allocations: 7.922 kB / 0.8197 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.01893, allocations: 4 kB / 0.8197 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000219/0.01915, allocations: 227 kB / 0.8199 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01915, allocations: 0 / 0.8199 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004555/0.01961, allocations: 111.8 kB / 0.82 GB, free: 8.375 MB / 0.7761 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.0006166/0.02022, allocations: 290.7 kB / 0.8203 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004944/0.02072, allocations: 219 kB / 0.8205 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02072, allocations: 4 kB / 0.8205 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.02088, allocations: 43.61 kB / 0.8206 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.02119, allocations: 39.11 kB / 0.8206 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.0219, allocations: 343.6 kB / 0.8209 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.02204, allocations: 128.1 kB / 0.821 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.305e-05/0.02213, allocations: 17.14 kB / 0.8211 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.02218, allocations: 20.5 kB / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.02218, allocations: 0 / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.008554/0.03074, allocations: 3.262 MB / 0.8243 GB, free: 4.027 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.562630822998472]