Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001887/0.001887, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002009/0.002009, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.664/1.664, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.377/3.377, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.63e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005931/0.005957, allocations: 3.719 MB / 0.881 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.01055, allocations: 2.507 MB / 0.8835 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.01081, allocations: 24.69 kB / 0.8835 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.01154, allocations: 234.4 kB / 0.8837 GB, free: 228 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.0127, allocations: 0.5508 MB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.01411, allocations: 0.571 MB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.01581, allocations: 1.417 MB / 0.8862 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.01603, allocations: 91.27 kB / 0.8863 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009138/0.01694, allocations: 0.608 MB / 0.8869 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/0.01774, allocations: 462.7 kB / 0.8873 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.01787, allocations: 52 kB / 0.8874 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.01807, allocations: 64 kB / 0.8874 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005263/0.01859, allocations: 386.9 kB / 0.8878 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.01933, allocations: 315.2 kB / 0.8881 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.02053, allocations: 0.8954 MB / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.02054, allocations: 0 / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/0.02054, allocations: 0 / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.02055, allocations: 0 / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002647/0.0232, allocations: 1.378 MB / 0.8903 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.02323, allocations: 8.031 kB / 0.8903 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.02358, allocations: 144.3 kB / 0.8905 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.02472, allocations: 0.6086 MB / 0.8911 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.02477, allocations: 41.03 kB / 0.8911 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.02486, allocations: 56.38 kB / 0.8912 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.02547, allocations: 365 kB / 0.8915 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.02548, allocations: 8.172 kB / 0.8915 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.02552, allocations: 15.94 kB / 0.8915 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.02553, allocations: 8 kB / 0.8915 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.02589, allocations: 166.4 kB / 0.8917 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.02921, allocations: 2.26 MB / 0.8939 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.03047, allocations: 372.2 kB / 0.8943 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.03067, allocations: 92.12 kB / 0.8943 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.0307, allocations: 4.234 kB / 0.8944 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.03074, allocations: 37.62 kB / 0.8944 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.03074, allocations: 0 / 0.8944 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.002157/0.03289, allocations: 0.8067 MB / 0.8952 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.03295, allocations: 59.34 kB / 0.8952 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.03452, allocations: 1.019 MB / 0.8962 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.03456, allocations: 41.7 kB / 0.8963 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.03501, allocations: 471.9 kB / 0.8967 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.03516, allocations: 127 kB / 0.8968 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.03544, allocations: 200.3 kB / 0.897 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004045/0.03585, allocations: 0.6094 MB / 0.8976 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.03611, allocations: 97.94 kB / 0.8977 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.03693, allocations: 0.6921 MB / 0.8984 GB, free: 0.6172 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.03991, allocations: 1.358 MB / 0.8997 GB, free: 15 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.03992, allocations: 4 kB / 0.8997 GB, free: 15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001405/0.04132, allocations: 0.6954 MB / 0.9004 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.04136, allocations: 12.91 kB / 0.9004 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.04138, allocations: 16 kB / 0.9004 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.04171, allocations: 55.66 kB / 0.9005 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.04244, allocations: 203.6 kB / 0.9007 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.04444, allocations: 1.786 MB / 0.9024 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.04525, allocations: 39.97 kB / 0.9025 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.04531, allocations: 47.94 kB / 0.9025 GB, free: 12.01 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.0457, allocations: 275.5 kB / 0.9028 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.04588, allocations: 95.44 kB / 0.9029 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.04604, allocations: 68.42 kB / 0.9029 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.04604, allocations: 4 kB / 0.9029 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.04605, allocations: 0 / 0.9029 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.04606, allocations: 8.047 kB / 0.9029 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.04791, allocations: 1.003 MB / 0.9039 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.04792, allocations: 0 / 0.9039 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.04832, allocations: 79.94 kB / 0.904 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.04854, allocations: 43.72 kB / 0.904 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.04857, allocations: 11.94 kB / 0.904 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.05002, allocations: 1.747 MB / 0.9058 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.05002, allocations: 0 / 0.9058 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008434/0.05086, allocations: 0.5601 MB / 0.9063 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.05119, allocations: 119.4 kB / 0.9064 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.05128, allocations: 8 kB / 0.9064 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.05169, allocations: 19.97 kB / 0.9064 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.05177, allocations: 23.97 kB / 0.9065 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.05179, allocations: 12 kB / 0.9065 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009221/0.05272, allocations: 0.6161 MB / 0.9071 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.05272, allocations: 0 / 0.9071 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000778/0.05349, allocations: 204 kB / 0.9073 GB, free: 6.895 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001646/0.05366, allocations: 111.1 kB / 0.9074 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.05481, allocations: 0.5655 MB / 0.9079 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.05481, allocations: 3.938 kB / 0.9079 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.05521, allocations: 285.9 kB / 0.9082 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.05606, allocations: 180.1 kB / 0.9084 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.05878, allocations: 1.4 MB / 0.9097 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.05931, allocations: 388.2 kB / 0.9101 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003973/0.05971, allocations: 125.6 kB / 0.9102 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.05989, allocations: 52.5 kB / 0.9103 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of SimCode: time 7.91e-07/0.05989, allocations: 0 / 0.9103 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of Templates: time 0.02101/0.08091, allocations: 9.432 MB / 0.9195 GB, free: 10.44 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.937136708991602]