Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.002333/0.002333, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.00275/0.00275, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.044/3.044, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.918e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient): time 0.007775/0.007804, allocations: 4.721 MB / 0.8154 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006555/0.01436, allocations: 3.288 MB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007777/0.01514, allocations: 35.69 kB / 0.8186 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.01695, allocations: 0.5333 MB / 0.8191 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.01896, allocations: 0.7955 MB / 0.8199 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.02082, allocations: 0.6911 MB / 0.8206 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00432/0.02514, allocations: 2.841 MB / 0.8234 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.02555, allocations: 161.9 kB / 0.8235 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.02771, allocations: 1.162 MB / 0.8247 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.0292, allocations: 0.7809 MB / 0.8254 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.02946, allocations: 92 kB / 0.8255 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.02984, allocations: 111.9 kB / 0.8256 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0008372/0.03068, allocations: 0.6427 MB / 0.8262 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007882/0.03147, allocations: 0.5311 MB / 0.8268 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.03368, allocations: 1.756 MB / 0.8285 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.03368, allocations: 0 / 0.8285 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.445e-06/0.03369, allocations: 5.031 kB / 0.8285 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.03371, allocations: 0 / 0.8285 GB, free: 15.97 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004613/0.03832, allocations: 2.251 MB / 0.8307 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.03837, allocations: 13.08 kB / 0.8307 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/0.03888, allocations: 239.7 kB / 0.8309 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.0412, allocations: 1.128 MB / 0.832 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.04127, allocations: 61.38 kB / 0.8321 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.04141, allocations: 84.38 kB / 0.8322 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.04243, allocations: 0.5671 MB / 0.8327 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.04245, allocations: 4.188 kB / 0.8327 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.0425, allocations: 24.12 kB / 0.8327 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.04252, allocations: 12 kB / 0.8328 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.04308, allocations: 255.6 kB / 0.833 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006143/0.04922, allocations: 3.754 MB / 0.8367 GB, free: 7.359 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.0507, allocations: 447.1 kB / 0.8371 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.05096, allocations: 115.6 kB / 0.8372 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.051, allocations: 8 kB / 0.8372 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.05104, allocations: 37.38 kB / 0.8372 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=35): time 2.625e-06/0.05104, allocations: 0 / 0.8372 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of matching and sorting (n=35): time 0.002261/0.0533, allocations: 0.6861 MB / 0.8379 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.05336, allocations: 59.39 kB / 0.838 GB, free: 5.969 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.05658, allocations: 2.05 MB / 0.84 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.05666, allocations: 45.7 kB / 0.84 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000924/0.05759, allocations: 0.7914 MB / 0.8408 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.0578, allocations: 142.9 kB / 0.8409 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004788/0.05828, allocations: 320.5 kB / 0.8412 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003709/0.05865, allocations: 0.5629 MB / 0.8418 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.05904, allocations: 146.5 kB / 0.8419 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.06037, allocations: 1.11 MB / 0.843 GB, free: 340 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.06222, allocations: 1.365 MB / 0.8443 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.06224, allocations: 12 kB / 0.8443 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002434/0.06467, allocations: 1.159 MB / 0.8455 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.06471, allocations: 16 kB / 0.8455 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.06474, allocations: 24 kB / 0.8455 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.06575, allocations: 211.5 kB / 0.8457 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/0.06662, allocations: 259.5 kB / 0.846 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.07097, allocations: 4.107 MB / 0.85 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.07253, allocations: 194.9 kB / 0.8502 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.07263, allocations: 64 kB / 0.8502 GB, free: 8.227 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000603/0.07323, allocations: 391.9 kB / 0.8506 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.07351, allocations: 162.9 kB / 0.8508 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.07375, allocations: 122.8 kB / 0.8509 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.07375, allocations: 4 kB / 0.8509 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.07376, allocations: 0 / 0.8509 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.07377, allocations: 3.984 kB / 0.8509 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.07537, allocations: 1.008 MB / 0.8519 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.07537, allocations: 0 / 0.8519 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.07572, allocations: 59.95 kB / 0.8519 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008535/0.07657, allocations: 171.2 kB / 0.8521 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.07661, allocations: 11.94 kB / 0.8521 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.08081, allocations: 4.056 MB / 0.8561 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.08081, allocations: 4 kB / 0.8561 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.08245, allocations: 0.7378 MB / 0.8568 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/0.08323, allocations: 234.8 kB / 0.857 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.08339, allocations: 11.98 kB / 0.857 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.08411, allocations: 51.86 kB / 0.8571 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.08422, allocations: 27.94 kB / 0.8571 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.08425, allocations: 12 kB / 0.8571 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002158/0.08641, allocations: 1.213 MB / 0.8583 GB, free: 15.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.08641, allocations: 4 kB / 0.8583 GB, free: 15.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001595/0.088, allocations: 451.7 kB / 0.8587 GB, free: 15.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conMul.lay[2].T[1],conMul.lay[2].T[2],con.T[1],con.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.0882, allocations: 111.1 kB / 0.8588 GB, free: 15.07 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.09003, allocations: 0.9602 MB / 0.8598 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.09003, allocations: 0 / 0.8598 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.09084, allocations: 0.5386 MB / 0.8603 GB, free: 13.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.0925, allocations: 344.9 kB / 0.8606 GB, free: 13.17 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.09651, allocations: 2.339 MB / 0.8629 GB, free: 10.79 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009402/0.09745, allocations: 0.6998 MB / 0.8636 GB, free: 10.05 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007141/0.09816, allocations: 217.2 kB / 0.8638 GB, free: 9.84 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.0984, allocations: 72.44 kB / 0.8639 GB, free: 9.77 MB / 0.823 GB Notification: Performance of SimCode: time 1.503e-06/0.0984, allocations: 0 / 0.8639 GB, free: 9.77 MB / 0.823 GB Notification: Performance of Templates: time 0.03685/0.1353, allocations: 18.85 MB / 0.8823 GB, free: 7.375 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.806171520031057]