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.001593/0.001593, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001834/0.001834, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.518/1.518, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 61.94 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3503, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006021/0.3564, allocations: 4.787 MB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.3616, allocations: 3.269 MB / 1.035 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.3622, allocations: 27.81 kB / 1.035 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.3637, allocations: 0.5322 MB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.365, allocations: 0.7045 MB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3664, allocations: 0.6505 MB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002615/0.369, allocations: 2.579 MB / 1.039 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.3695, allocations: 289.4 kB / 1.039 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009819/0.3705, allocations: 0.7982 MB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008759/0.3713, allocations: 0.7547 MB / 1.041 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3715, allocations: 84 kB / 1.041 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3717, allocations: 96 kB / 1.041 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.3722, allocations: 0.5218 MB / 1.041 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006949/0.3729, allocations: 0.7422 MB / 1.042 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3742, allocations: 1.658 MB / 1.044 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3742, allocations: 4 kB / 1.044 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3742, allocations: 4 kB / 1.044 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.3743, allocations: 0 / 1.044 GB, free: 0.5039 MB / 0.8106 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.003111/0.3774, allocations: 1.922 MB / 1.046 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3774, allocations: 12.03 kB / 1.046 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.3777, allocations: 170.9 kB / 1.046 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.3796, allocations: 1.156 MB / 1.047 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.3796, allocations: 61.38 kB / 1.047 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3798, allocations: 80.28 kB / 1.047 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008333/0.3806, allocations: 0.5674 MB / 1.048 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3806, allocations: 3.938 kB / 1.048 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.3807, allocations: 16 kB / 1.048 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3807, allocations: 16 kB / 1.048 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.3813, allocations: 359.6 kB / 1.048 GB, free: 12.02 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.00506/0.3864, allocations: 3.858 MB / 1.052 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.3875, allocations: 0.4987 MB / 1.052 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.3878, allocations: 189.2 kB / 1.052 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3879, allocations: 4 kB / 1.052 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3879, allocations: 42.48 kB / 1.053 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.913e-06/0.3879, allocations: 0 / 1.053 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002094/0.39, allocations: 1.084 MB / 1.054 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3901, allocations: 59.34 kB / 1.054 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.3924, allocations: 1.785 MB / 1.055 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.3925, allocations: 45.7 kB / 1.055 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.393, allocations: 0.584 MB / 1.056 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3932, allocations: 114.4 kB / 1.056 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.3934, allocations: 234.8 kB / 1.056 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3936, allocations: 353.9 kB / 1.057 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.3941, allocations: 326.4 kB / 1.057 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/0.395, allocations: 0.9519 MB / 1.058 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.3964, allocations: 1.268 MB / 1.059 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.3965, allocations: 8 kB / 1.059 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002216/0.3987, allocations: 1.449 MB / 1.061 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.3987, allocations: 16 kB / 1.061 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.3988, allocations: 24 kB / 1.061 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.3993, allocations: 194.7 kB / 1.061 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.4, allocations: 243.5 kB / 1.061 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.4043, allocations: 5.056 MB / 1.066 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.4055, allocations: 174.8 kB / 1.066 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.4056, allocations: 64.06 kB / 1.066 GB, free: 7.918 MB / 0.8419 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.0006265/0.4063, allocations: 489 kB / 1.067 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.4064, allocations: 138.2 kB / 1.067 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.4066, allocations: 138.3 kB / 1.067 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4066, allocations: 0 / 1.067 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.4066, allocations: 4 kB / 1.067 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4067, allocations: 3.984 kB / 1.067 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.4077, allocations: 0.9406 MB / 1.068 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4077, allocations: 4 kB / 1.068 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.408, allocations: 39.95 kB / 1.068 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.4084, allocations: 170.4 kB / 1.068 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.4085, allocations: 11.94 kB / 1.068 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/0.4124, allocations: 5.014 MB / 1.073 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4124, allocations: 0 / 1.073 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5651/0.9775, allocations: 0.8831 MB / 1.074 GB, free: 52.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/0.9783, allocations: 300.1 kB / 1.074 GB, free: 52.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.9784, allocations: 11.27 kB / 1.074 GB, free: 52.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.979, allocations: 43.14 kB / 1.074 GB, free: 52.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9792, allocations: 29.19 kB / 1.074 GB, free: 52.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.9792, allocations: 5.156 kB / 1.074 GB, free: 52.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001811/0.981, allocations: 1.208 MB / 1.075 GB, free: 51.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.981, allocations: 0 / 1.075 GB, free: 51.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001155/0.9822, allocations: 382.2 kB / 1.076 GB, free: 51.91 MB / 0.8419 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.0001247/0.9823, allocations: 111.1 kB / 1.076 GB, free: 51.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.9838, allocations: 1.108 MB / 1.077 GB, free: 51.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.9838, allocations: 5.859 kB / 1.077 GB, free: 51.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.9845, allocations: 0.5671 MB / 1.077 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.9858, allocations: 333.5 kB / 1.078 GB, free: 51.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.9889, allocations: 2.472 MB / 1.08 GB, free: 50.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/0.9899, allocations: 1.308 MB / 1.081 GB, free: 49.29 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006563/0.9905, allocations: 243.3 kB / 1.082 GB, free: 49.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.9907, allocations: 64.34 kB / 1.082 GB, free: 49.25 MB / 0.8419 GB Notification: Performance of SimCode: time 8.82e-07/0.9907, allocations: 0 / 1.082 GB, free: 49.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.04068/1.031, allocations: 16.67 MB / 1.098 GB, free: 48.05 MB / 0.8419 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 -s cvode -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