Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001132/0.001132, allocations: 115.9 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.00111/0.00111, allocations: 190.6 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.427/1.427, 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 9.1.2-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001675, allocations: 65.77 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3197, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006108/0.3259, allocations: 4.795 MB / 0.9558 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006106/0.332, allocations: 3.261 MB / 0.959 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.3332, allocations: 23.88 kB / 0.959 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.335, allocations: 0.536 MB / 0.9595 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.3369, allocations: 0.7038 MB / 0.9602 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.3386, allocations: 0.6431 MB / 0.9608 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.3425, allocations: 2.595 MB / 0.9634 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006641/0.3432, allocations: 301.3 kB / 0.9637 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.3451, allocations: 0.7982 MB / 0.9644 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3462, allocations: 0.7469 MB / 0.9652 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.3464, allocations: 84 kB / 0.9652 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3466, allocations: 96 kB / 0.9653 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.3471, allocations: 0.5141 MB / 0.9658 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.3478, allocations: 0.7499 MB / 0.9666 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3493, allocations: 1.654 MB / 0.9682 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3493, allocations: 4 kB / 0.9682 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3493, allocations: 0 / 0.9682 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.3493, allocations: 0 / 0.9682 GB, free: 6.492 MB / 0.7481 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.003387/0.3527, allocations: 1.932 MB / 0.9701 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3528, allocations: 12.03 kB / 0.9701 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.353, allocations: 170.9 kB / 0.9703 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.355, allocations: 1.148 MB / 0.9714 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.355, allocations: 61.38 kB / 0.9714 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3552, allocations: 76.38 kB / 0.9715 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.356, allocations: 0.5751 MB / 0.9721 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.356, allocations: 0 / 0.9721 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.3561, allocations: 19.94 kB / 0.9721 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3561, allocations: 12 kB / 0.9721 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.3567, allocations: 359.6 kB / 0.9724 GB, free: 1.996 MB / 0.7481 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.004924/0.3616, allocations: 3.854 MB / 0.9762 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3627, allocations: 0.5095 MB / 0.9767 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.363, allocations: 200.6 kB / 0.9769 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.363, allocations: 0 / 0.9769 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.363, allocations: 34.56 kB / 0.9769 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.363, allocations: 0 / 0.9769 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30): time 0.002041/0.3651, allocations: 1.085 MB / 0.978 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3651, allocations: 63.34 kB / 0.978 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.3673, allocations: 1.777 MB / 0.9798 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.3674, allocations: 45.7 kB / 0.9798 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.3679, allocations: 0.5879 MB / 0.9804 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.368, allocations: 106.4 kB / 0.9805 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.3683, allocations: 238.8 kB / 0.9807 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3684, allocations: 349.9 kB / 0.9811 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.3689, allocations: 330.4 kB / 0.9814 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008567/0.3698, allocations: 0.9442 MB / 0.9823 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.3711, allocations: 1.264 MB / 0.9835 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.3712, allocations: 8 kB / 0.9835 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002267/0.3734, allocations: 1.453 MB / 0.985 GB, free: 4.102 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3735, allocations: 15.94 kB / 0.985 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.3735, allocations: 24 kB / 0.985 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.3741, allocations: 206.5 kB / 0.9852 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.3748, allocations: 239.5 kB / 0.9854 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.3789, allocations: 5.059 MB / 0.9904 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.3803, allocations: 178.5 kB / 0.9905 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.3803, allocations: 60 kB / 0.9906 GB, free: 13.91 MB / 0.7794 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.0006631/0.381, allocations: 492.6 kB / 0.9911 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.3812, allocations: 138.2 kB / 0.9912 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3814, allocations: 130.3 kB / 0.9913 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3814, allocations: 4 kB / 0.9913 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3814, allocations: 3.984 kB / 0.9913 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3814, allocations: 0 / 0.9913 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.3825, allocations: 0.933 MB / 0.9922 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3825, allocations: 0 / 0.9922 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.3827, allocations: 47.91 kB / 0.9923 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/0.3832, allocations: 166.6 kB / 0.9924 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.3832, allocations: 15.94 kB / 0.9925 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003995/0.3872, allocations: 5.016 MB / 0.9974 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3873, allocations: 0 / 0.9974 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3887, allocations: 0.8941 MB / 0.9982 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/0.3893, allocations: 299.2 kB / 0.9985 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.3894, allocations: 11.94 kB / 0.9985 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.39, allocations: 35.94 kB / 0.9986 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.3901, allocations: 31.95 kB / 0.9986 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3901, allocations: 8 kB / 0.9986 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001738/0.3919, allocations: 1.212 MB / 0.9998 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3919, allocations: 0 / 0.9998 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001244/0.3931, allocations: 383.5 kB / 1 GB, free: 3.586 MB / 0.7794 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.000168/0.3933, allocations: 109.2 kB / 1 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.3951, allocations: 1.106 MB / 1.001 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3951, allocations: 0 / 1.001 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.3958, allocations: 0.5623 MB / 1.002 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.3974, allocations: 337.7 kB / 1.002 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.4011, allocations: 2.471 MB / 1.005 GB, free: 14.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.4021, allocations: 1.308 MB / 1.006 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006704/0.4027, allocations: 248.8 kB / 1.006 GB, free: 13.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.4029, allocations: 63.44 kB / 1.006 GB, free: 13.25 MB / 0.795 GB Notification: Performance of SimCode: time 1.182e-06/0.4029, allocations: 3.938 kB / 1.006 GB, free: 13.24 MB / 0.795 GB Notification: Performance of Templates: time 0.03037/0.4333, allocations: 16.65 MB / 1.022 GB, free: 12.84 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches