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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001393/0.001393, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.06 kB / 0.899 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2962, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006022/0.3023, allocations: 4.799 MB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005465/0.3078, allocations: 3.292 MB / 1.061 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009765/0.3088, allocations: 19.88 kB / 1.061 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.3106, allocations: 489.6 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.3125, allocations: 0.6691 MB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.314, allocations: 0.5537 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003412/0.3175, allocations: 3.018 MB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.3179, allocations: 272.5 kB / 1.066 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.3193, allocations: 0.7278 MB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.3206, allocations: 0.7859 MB / 1.067 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.3208, allocations: 55.94 kB / 1.067 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.3212, allocations: 60 kB / 1.067 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.3217, allocations: 478.5 kB / 1.068 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.3227, allocations: 0.6992 MB / 1.068 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.324, allocations: 1.298 MB / 1.07 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.324, allocations: 7.938 kB / 1.07 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.324, allocations: 0 / 1.07 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.122e-05/0.3241, allocations: 3.938 kB / 1.07 GB, free: 7.047 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.003586/0.3277, allocations: 1.934 MB / 1.071 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3277, allocations: 15.91 kB / 1.071 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.328, allocations: 174.9 kB / 1.072 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.3297, allocations: 1.109 MB / 1.073 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.3297, allocations: 65.36 kB / 1.073 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3299, allocations: 76.38 kB / 1.073 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/0.3307, allocations: 0.5751 MB / 1.073 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3308, allocations: 0 / 1.073 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.3308, allocations: 16 kB / 1.073 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3308, allocations: 12 kB / 1.073 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.3314, allocations: 359.7 kB / 1.074 GB, free: 2.582 MB / 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.004922/0.3364, allocations: 3.885 MB / 1.078 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3375, allocations: 0.5142 MB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.3378, allocations: 184.8 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3378, allocations: 4 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3379, allocations: 34.56 kB / 1.078 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.3379, allocations: 4 kB / 1.078 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002111/0.34, allocations: 1.077 MB / 1.079 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.34, allocations: 63.34 kB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.3423, allocations: 1.801 MB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.3424, allocations: 45.7 kB / 1.081 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/0.3429, allocations: 0.5801 MB / 1.082 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3431, allocations: 114.4 kB / 1.082 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.3433, allocations: 242.8 kB / 1.082 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3435, allocations: 349.9 kB / 1.082 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.344, allocations: 326.4 kB / 1.083 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009108/0.3449, allocations: 0.9442 MB / 1.084 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.3463, allocations: 1.268 MB / 1.085 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.3463, allocations: 8 kB / 1.085 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002332/0.3487, allocations: 1.453 MB / 1.086 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3487, allocations: 17.09 kB / 1.086 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.3488, allocations: 20 kB / 1.086 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/0.3494, allocations: 202.7 kB / 1.087 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.3501, allocations: 239.6 kB / 1.087 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/0.3542, allocations: 4.689 MB / 1.091 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3555, allocations: 182.4 kB / 1.092 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.3556, allocations: 63.98 kB / 1.092 GB, free: 14.82 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.0006287/0.3562, allocations: 485.2 kB / 1.092 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.3564, allocations: 138.2 kB / 1.092 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.3566, allocations: 126.4 kB / 1.092 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3566, allocations: 3.938 kB / 1.092 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3566, allocations: 7.938 kB / 1.092 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3567, allocations: 3.984 kB / 1.092 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.3577, allocations: 0.9446 MB / 1.093 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3577, allocations: 4 kB / 1.093 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.358, allocations: 43.91 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/0.3585, allocations: 162.4 kB / 1.093 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.3585, allocations: 12.11 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/0.3623, allocations: 4.662 MB / 1.098 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3623, allocations: 0 / 1.098 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3636, allocations: 0.8987 MB / 1.099 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.3641, allocations: 299.2 kB / 1.099 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3642, allocations: 15.98 kB / 1.099 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.3648, allocations: 39.94 kB / 1.099 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.3649, allocations: 27.95 kB / 1.099 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.3649, allocations: 4 kB / 1.099 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001679/0.3666, allocations: 1.223 MB / 1.1 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3666, allocations: 0 / 1.1 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001345/0.368, allocations: 395.5 kB / 1.101 GB, free: 4.84 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.0001181/0.3681, allocations: 103.2 kB / 1.101 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.3696, allocations: 1.102 MB / 1.102 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3696, allocations: 0 / 1.102 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.3703, allocations: 0.5708 MB / 1.103 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.3718, allocations: 329.4 kB / 1.103 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.3757, allocations: 2.911 MB / 1.106 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/0.3766, allocations: 1.304 MB / 1.107 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.3768, allocations: 67.44 kB / 1.107 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.3768, allocations: 0 / 1.107 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.03835/0.4152, allocations: 33.77 MB / 1.14 GB, free: 12.62 MB / 0.9044 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