Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001082/0.001082, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001066/0.001066, allocations: 192.1 kB / 17.31 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.316/1.316, 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 10.1.0-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.7 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2517, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005435/0.2572, allocations: 4.79 MB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004802/0.262, allocations: 3.261 MB / 1.027 GB, free: 1.777 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.2626, allocations: 23.81 kB / 1.027 GB, free: 1.754 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.2639, allocations: 0.54 MB / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2651, allocations: 0.696 MB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.2666, allocations: 0.6494 MB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.2691, allocations: 2.583 MB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.2695, allocations: 297.4 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.2706, allocations: 0.8021 MB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009696/0.2716, allocations: 0.7508 MB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.2717, allocations: 84 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.2719, allocations: 92 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.2724, allocations: 0.518 MB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006974/0.2731, allocations: 0.7422 MB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2744, allocations: 1.662 MB / 1.036 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2744, allocations: 0 / 1.036 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2744, allocations: 0 / 1.036 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.2744, allocations: 0 / 1.036 GB, free: 8.309 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.00315/0.2776, allocations: 1.932 MB / 1.038 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2777, allocations: 16.03 kB / 1.038 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.2779, allocations: 166.9 kB / 1.038 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.2799, allocations: 1.156 MB / 1.039 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.28, allocations: 57.38 kB / 1.039 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2801, allocations: 88.36 kB / 1.039 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000852/0.2809, allocations: 0.5595 MB / 1.04 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.281, allocations: 0 / 1.04 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.281, allocations: 24 kB / 1.04 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.281, allocations: 12 kB / 1.04 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.2816, allocations: 359.6 kB / 1.04 GB, free: 3.809 MB / 0.8106 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.004833/0.2865, allocations: 3.85 MB / 1.044 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2876, allocations: 0.5104 MB / 1.044 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.2879, allocations: 185.2 kB / 1.045 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.2879, allocations: 4 kB / 1.045 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.288, allocations: 39.06 kB / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.288, allocations: 0 / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002001/0.29, allocations: 1.087 MB / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.29, allocations: 55.34 kB / 1.046 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.2922, allocations: 1.785 MB / 1.047 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.2922, allocations: 45.7 kB / 1.047 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.2927, allocations: 0.5878 MB / 1.048 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2928, allocations: 106.4 kB / 1.048 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.2931, allocations: 242.8 kB / 1.048 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2932, allocations: 349.9 kB / 1.049 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.2937, allocations: 326.4 kB / 1.049 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.2945, allocations: 0.9481 MB / 1.05 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2958, allocations: 1.268 MB / 1.051 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.2958, allocations: 11.94 kB / 1.051 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002139/0.2979, allocations: 1.445 MB / 1.053 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.298, allocations: 16 kB / 1.053 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.298, allocations: 20 kB / 1.053 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.2986, allocations: 202.7 kB / 1.053 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.2993, allocations: 235.6 kB / 1.053 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.3032, allocations: 5.08 MB / 1.058 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.3044, allocations: 174.6 kB / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.3045, allocations: 60 kB / 1.058 GB, free: 15.71 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.0005628/0.305, allocations: 491 kB / 1.059 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.3052, allocations: 138.2 kB / 1.059 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.3054, allocations: 126.3 kB / 1.059 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3054, allocations: 7.984 kB / 1.059 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.3054, allocations: 8 kB / 1.059 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3054, allocations: 0 / 1.059 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009946/0.3064, allocations: 0.9328 MB / 1.06 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3064, allocations: 0 / 1.06 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.3067, allocations: 43.97 kB / 1.06 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.3072, allocations: 170.4 kB / 1.06 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.3072, allocations: 11.94 kB / 1.06 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.311, allocations: 5.017 MB / 1.065 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.311, allocations: 3.984 kB / 1.065 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3123, allocations: 0.8861 MB / 1.066 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.3128, allocations: 299.3 kB / 1.066 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3129, allocations: 15.92 kB / 1.066 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.3135, allocations: 43.94 kB / 1.066 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.3136, allocations: 27.95 kB / 1.066 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3136, allocations: 4 kB / 1.066 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001585/0.3152, allocations: 1.208 MB / 1.067 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3152, allocations: 0 / 1.067 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001125/0.3164, allocations: 383.5 kB / 1.068 GB, free: 5.395 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.0001336/0.3165, allocations: 107.2 kB / 1.068 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.318, allocations: 1.11 MB / 1.069 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3181, allocations: 0 / 1.069 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.3187, allocations: 0.556 MB / 1.07 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.32, allocations: 338.5 kB / 1.07 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.3232, allocations: 2.486 MB / 1.072 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4269/0.7501, allocations: 1.299 MB / 1.074 GB, free: 57.92 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007492/0.7509, allocations: 242.4 kB / 1.074 GB, free: 57.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.7511, allocations: 68.12 kB / 1.074 GB, free: 57.9 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.7511, allocations: 0.5 kB / 1.074 GB, free: 57.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.03246/0.7836, allocations: 16.65 MB / 1.09 GB, free: 57.3 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches