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.0009376/0.0009376, allocations: 92.08 kB / 16.02 MB, free: 80 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.001123/0.001123, allocations: 181.8 kB / 16.92 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.586/2.586, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004035, allocations: 8 kB / 0.8735 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6768, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.00526/0.6821, allocations: 4.388 MB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005725/0.6879, allocations: 3.256 MB / 1.031 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.6891, allocations: 19.88 kB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.691, allocations: 489.5 kB / 1.032 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.6931, allocations: 0.6691 MB / 1.032 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.6949, allocations: 0.5537 MB / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003813/0.6987, allocations: 3.019 MB / 1.036 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/0.6992, allocations: 256.6 kB / 1.036 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.7007, allocations: 0.7121 MB / 1.037 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.7021, allocations: 0.7781 MB / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.7025, allocations: 48 kB / 1.038 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.7028, allocations: 59.94 kB / 1.038 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.7035, allocations: 466.5 kB / 1.038 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009616/0.7044, allocations: 0.7164 MB / 1.039 GB, free: 412 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.7056, allocations: 1.278 MB / 1.04 GB, free: 15.12 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7056, allocations: 0 / 1.04 GB, free: 15.12 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7056, allocations: 0 / 1.04 GB, free: 15.12 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.916e-05/0.7057, allocations: 0 / 1.04 GB, free: 15.12 MB / 0.795 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.00305/0.7087, allocations: 1.703 MB / 1.042 GB, free: 13.36 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.7088, allocations: 8.031 kB / 1.042 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.7091, allocations: 174.8 kB / 1.042 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.7107, allocations: 1.117 MB / 1.043 GB, free: 12.02 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.7108, allocations: 53.38 kB / 1.043 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.7109, allocations: 88.28 kB / 1.043 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.7118, allocations: 0.5751 MB / 1.044 GB, free: 11.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.7118, allocations: 0 / 1.044 GB, free: 11.27 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.7119, allocations: 20 kB / 1.044 GB, free: 11.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.7119, allocations: 12 kB / 1.044 GB, free: 11.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.7125, allocations: 363.7 kB / 1.044 GB, free: 10.88 MB / 0.795 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.004988/0.7175, allocations: 3.893 MB / 1.048 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.7187, allocations: 0.5104 MB / 1.048 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.719, allocations: 196.7 kB / 1.048 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.7191, allocations: 0 / 1.048 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.7191, allocations: 34.56 kB / 1.048 GB, free: 5.918 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.203e-06/0.7191, allocations: 3.938 kB / 1.048 GB, free: 5.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.002364/0.7215, allocations: 1.1 MB / 1.05 GB, free: 4.742 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.7216, allocations: 59.34 kB / 1.05 GB, free: 4.672 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.7244, allocations: 1.801 MB / 1.051 GB, free: 2.863 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.901e-05/0.7245, allocations: 45.7 kB / 1.051 GB, free: 2.812 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.7251, allocations: 0.5801 MB / 1.052 GB, free: 2.227 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.7253, allocations: 114.4 kB / 1.052 GB, free: 2.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.7255, allocations: 129.6 kB / 1.052 GB, free: 1.98 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7257, allocations: 353.9 kB / 1.053 GB, free: 1.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.7263, allocations: 330.4 kB / 1.053 GB, free: 1.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.7274, allocations: 0.9403 MB / 1.054 GB, free: 60 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.7291, allocations: 1.283 MB / 1.055 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.7292, allocations: 4 kB / 1.055 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002587/0.7318, allocations: 1.453 MB / 1.056 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.7318, allocations: 16 kB / 1.056 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/0.7319, allocations: 20 kB / 1.057 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007314/0.7326, allocations: 202.6 kB / 1.057 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.7333, allocations: 235.6 kB / 1.057 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004157/0.7375, allocations: 4.72 MB / 1.062 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.7388, allocations: 178.5 kB / 1.062 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.7389, allocations: 60 kB / 1.062 GB, free: 7.168 MB / 0.8106 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.0007555/0.7396, allocations: 494.2 kB / 1.062 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.7399, allocations: 134.2 kB / 1.062 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.7402, allocations: 126.4 kB / 1.062 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7402, allocations: 4 kB / 1.062 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.7402, allocations: 4 kB / 1.062 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7402, allocations: 0 / 1.062 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.7415, allocations: 0.9407 MB / 1.063 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.7416, allocations: 3.984 kB / 1.063 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.7418, allocations: 51.91 kB / 1.063 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000498/0.7423, allocations: 158.6 kB / 1.064 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.7424, allocations: 16 kB / 1.064 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.7464, allocations: 4.658 MB / 1.068 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7464, allocations: 0 / 1.068 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.7478, allocations: 0.8997 MB / 1.069 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.7483, allocations: 319 kB / 1.069 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.7485, allocations: 7.984 kB / 1.069 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.7492, allocations: 43.94 kB / 1.069 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.7493, allocations: 31.95 kB / 1.069 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.7493, allocations: 4 kB / 1.069 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001876/0.7512, allocations: 1.223 MB / 1.071 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7512, allocations: 0 / 1.071 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001351/0.7526, allocations: 383.6 kB / 1.071 GB, free: 13.19 MB / 0.8262 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.0001818/0.7527, allocations: 107.2 kB / 1.071 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.7546, allocations: 1.114 MB / 1.072 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7546, allocations: 3.938 kB / 1.072 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.7554, allocations: 0.5707 MB / 1.073 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.7571, allocations: 317.4 kB / 1.073 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.762, allocations: 3.02 MB / 1.076 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.7635, allocations: 1.296 MB / 1.077 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.7638, allocations: 71.42 kB / 1.077 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of SimCode: time 8.12e-07/0.7638, allocations: 0 / 1.077 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.04712/0.8109, allocations: 33.58 MB / 1.11 GB, free: 5.047 MB / 0.8575 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 -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