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.00138/0.00138, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001327/0.001327, allocations: 187 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.88 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7383, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005368/0.7437, allocations: 4.786 MB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004876/0.7486, allocations: 3.268 MB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005449/0.7492, allocations: 23.81 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.7506, allocations: 0.5262 MB / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.752, allocations: 0.7038 MB / 1.217 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.7534, allocations: 0.6393 MB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.7561, allocations: 2.602 MB / 1.221 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.7565, allocations: 293.4 kB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.7576, allocations: 0.8178 MB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009017/0.7585, allocations: 0.7507 MB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.7587, allocations: 84 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.7589, allocations: 92 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.7594, allocations: 0.518 MB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.76, allocations: 0.7539 MB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.7614, allocations: 1.662 MB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7614, allocations: 0 / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7614, allocations: 0 / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.7614, allocations: 0 / 1.225 GB, free: 12.09 MB / 0.9512 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.002943/0.7644, allocations: 1.929 MB / 1.227 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.7644, allocations: 8.031 kB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.7646, allocations: 170.9 kB / 1.228 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.7663, allocations: 1.159 MB / 1.229 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.7663, allocations: 57.38 kB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.7664, allocations: 80.38 kB / 1.229 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.7673, allocations: 0.5673 MB / 1.229 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7673, allocations: 3.938 kB / 1.229 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.7674, allocations: 20 kB / 1.229 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.7674, allocations: 12 kB / 1.229 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.7679, allocations: 359.7 kB / 1.23 GB, free: 7.598 MB / 0.9512 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.004416/0.7724, allocations: 3.858 MB / 1.233 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.7735, allocations: 0.5065 MB / 1.234 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.7738, allocations: 193.2 kB / 1.234 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.7738, allocations: 4 kB / 1.234 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.7738, allocations: 34.56 kB / 1.234 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 3.437e-06/0.7738, allocations: 3.938 kB / 1.234 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001999/0.7758, allocations: 1.089 MB / 1.235 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.7759, allocations: 59.34 kB / 1.235 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.778, allocations: 1.777 MB / 1.237 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.7781, allocations: 45.7 kB / 1.237 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.7786, allocations: 0.5801 MB / 1.238 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.7787, allocations: 118.4 kB / 1.238 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.7789, allocations: 234.9 kB / 1.238 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7791, allocations: 353.9 kB / 1.238 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.7795, allocations: 326.4 kB / 1.239 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008076/0.7803, allocations: 0.9403 MB / 1.24 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.7816, allocations: 1.279 MB / 1.241 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.7817, allocations: 8 kB / 1.241 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002137/0.7838, allocations: 1.453 MB / 1.242 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.7838, allocations: 14.03 kB / 1.242 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.7839, allocations: 24 kB / 1.242 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.7845, allocations: 194.7 kB / 1.242 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.7852, allocations: 239.6 kB / 1.243 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.7892, allocations: 5.051 MB / 1.248 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.7904, allocations: 174.5 kB / 1.248 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.7904, allocations: 60 kB / 1.248 GB, free: 3.504 MB / 0.9669 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.0005797/0.791, allocations: 493.1 kB / 1.248 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.7912, allocations: 138.1 kB / 1.248 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.7915, allocations: 130.3 kB / 1.249 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.7915, allocations: 4.25 kB / 1.249 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.7915, allocations: 0 / 1.249 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7915, allocations: 7.984 kB / 1.249 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.7926, allocations: 0.9408 MB / 1.25 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7926, allocations: 0 / 1.25 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.7929, allocations: 43.97 kB / 1.25 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/0.7934, allocations: 166.4 kB / 1.25 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.7934, allocations: 15.92 kB / 1.25 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.7974, allocations: 5.012 MB / 1.255 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7974, allocations: 4.031 kB / 1.255 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.7987, allocations: 0.8901 MB / 1.256 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.7991, allocations: 303.2 kB / 1.256 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.7993, allocations: 19.81 kB / 1.256 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.7999, allocations: 35.94 kB / 1.256 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.8, allocations: 27.97 kB / 1.256 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.8001, allocations: 12.17 kB / 1.256 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00172/0.8018, allocations: 1.204 MB / 1.257 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8018, allocations: 0 / 1.257 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001145/0.8029, allocations: 375.7 kB / 1.257 GB, free: 9.18 MB / 0.9825 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.0001332/0.8031, allocations: 107.2 kB / 1.258 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.8047, allocations: 1.113 MB / 1.259 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8047, allocations: 0 / 1.259 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.8054, allocations: 0.5669 MB / 1.259 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.8068, allocations: 330.9 kB / 1.259 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.8104, allocations: 2.517 MB / 1.262 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/0.8113, allocations: 1.304 MB / 1.263 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.8116, allocations: 63.44 kB / 1.263 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.8116, allocations: 4 kB / 1.263 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of Templates: time 0.03696/0.8485, allocations: 33.9 MB / 1.296 GB, free: 1.211 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches