Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009884, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006322/0.006322, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 462.6 MB / 0.7364 GB, free: 356 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003539, allocations: 13.09 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3638, allocations: 159.6 MB / 1.059 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005611/0.3695, allocations: 4.393 MB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006148/0.3757, allocations: 3.255 MB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.3768, allocations: 19.88 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.3788, allocations: 485.6 kB / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.381, allocations: 0.6691 MB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.3828, allocations: 0.5537 MB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004632/0.3875, allocations: 3.004 MB / 1.071 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.3882, allocations: 272.4 kB / 1.071 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.3901, allocations: 0.7083 MB / 1.072 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.3918, allocations: 0.782 MB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.3922, allocations: 48 kB / 1.072 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.3927, allocations: 56 kB / 1.073 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008002/0.3935, allocations: 470.4 kB / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.395, allocations: 0.7087 MB / 1.074 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.3967, allocations: 1.588 MB / 1.075 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3967, allocations: 0 / 1.075 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3967, allocations: 4 kB / 1.075 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.3968, allocations: 0 / 1.075 GB, free: 4.492 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003316/0.4001, allocations: 1.711 MB / 1.077 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4001, allocations: 8.031 kB / 1.077 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.4004, allocations: 170.9 kB / 1.077 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.4023, allocations: 1.124 MB / 1.078 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.4024, allocations: 53.38 kB / 1.078 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.4025, allocations: 84.36 kB / 1.078 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.4034, allocations: 0.5713 MB / 1.079 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4034, allocations: 0 / 1.079 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.4035, allocations: 20 kB / 1.079 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.4035, allocations: 12 kB / 1.079 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.4041, allocations: 359.6 kB / 1.079 GB, free: 260 kB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005394/0.4095, allocations: 3.901 MB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.4107, allocations: 0.5065 MB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.4111, allocations: 192.8 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4111, allocations: 4 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4111, allocations: 38.56 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.315e-06/0.4111, allocations: 0 / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002304/0.4134, allocations: 1.103 MB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4135, allocations: 59.34 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.416, allocations: 1.797 MB / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/0.4161, allocations: 45.7 kB / 1.087 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.4167, allocations: 0.5802 MB / 1.087 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.4168, allocations: 118.4 kB / 1.087 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.417, allocations: 133.6 kB / 1.088 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4172, allocations: 345.9 kB / 1.088 GB, free: 7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.4177, allocations: 334.3 kB / 1.088 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009703/0.4187, allocations: 0.9403 MB / 1.089 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.4202, allocations: 1.275 MB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.4202, allocations: 15.94 kB / 1.09 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002433/0.4227, allocations: 1.449 MB / 1.092 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.4227, allocations: 12 kB / 1.092 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.4227, allocations: 24.28 kB / 1.092 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.4234, allocations: 198.4 kB / 1.092 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.4241, allocations: 243.6 kB / 1.092 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/0.4288, allocations: 4.689 MB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.4307, allocations: 186.5 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4308, allocations: 64 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008199/0.4316, allocations: 486.5 kB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.432, allocations: 138.2 kB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.4322, allocations: 130.4 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4322, allocations: 8 kB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.4322, allocations: 256 / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4322, allocations: 3.984 kB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.4334, allocations: 0.9446 MB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4334, allocations: 0 / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.4337, allocations: 47.91 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/0.4343, allocations: 166.4 kB / 1.099 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4343, allocations: 4 kB / 1.099 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.4385, allocations: 4.678 MB / 1.103 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4385, allocations: 3.984 kB / 1.103 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4401, allocations: 0.8938 MB / 1.104 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000701/0.4408, allocations: 295.2 kB / 1.105 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.4409, allocations: 11.98 kB / 1.105 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.4416, allocations: 47.94 kB / 1.105 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4417, allocations: 27.95 kB / 1.105 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4417, allocations: 8 kB / 1.105 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002069/0.4438, allocations: 1.216 MB / 1.106 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4438, allocations: 0 / 1.106 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001615/0.4454, allocations: 391.5 kB / 1.106 GB, free: 2.559 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (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.0002235/0.4457, allocations: 115.2 kB / 1.106 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.4479, allocations: 1.11 MB / 1.107 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4479, allocations: 4.812 kB / 1.107 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.4487, allocations: 0.5701 MB / 1.108 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.4505, allocations: 329.8 kB / 1.108 GB, free: 368 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.4546, allocations: 2.957 MB / 1.111 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009821/0.4556, allocations: 1.32 MB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006296/0.4562, allocations: 240.8 kB / 1.113 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.4564, allocations: 63.44 kB / 1.113 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of SimCode: time 4.388e-06/0.4564, allocations: 3.938 kB / 1.113 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of Templates: time 0.03115/0.4876, allocations: 15.89 MB / 1.128 GB, free: 12.06 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches