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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001146/0.001146, allocations: 197.8 kB / 16.14 MB, free: 6.648 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.89 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9416/0.9429, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006089/0.949, allocations: 4.797 MB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005794/0.9549, allocations: 3.289 MB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.9559, allocations: 19.88 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.9579, allocations: 493.5 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.9601, allocations: 0.6741 MB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.9619, allocations: 0.553 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00385/0.9657, allocations: 3.016 MB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.9662, allocations: 268.5 kB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.9676, allocations: 0.7239 MB / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.969, allocations: 0.7898 MB / 1.031 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.9692, allocations: 52 kB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.9696, allocations: 60 kB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.9701, allocations: 474.5 kB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.9709, allocations: 0.7031 MB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.9723, allocations: 1.627 MB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.9723, allocations: 0 / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9723, allocations: 0 / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.881e-05/0.9723, allocations: 0 / 1.034 GB, free: 1.176 MB / 0.7794 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.003482/0.9758, allocations: 1.936 MB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.9759, allocations: 12.03 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.9761, allocations: 170.9 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.978, allocations: 1.113 MB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.978, allocations: 61.31 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.9782, allocations: 80.38 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/0.9791, allocations: 0.5673 MB / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.9791, allocations: 0 / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.9792, allocations: 20 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.9792, allocations: 16 kB / 1.038 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.9798, allocations: 355.6 kB / 1.038 GB, free: 12.71 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.005525/0.9854, allocations: 3.878 MB / 1.042 GB, free: 8.527 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.9866, allocations: 0.5026 MB / 1.042 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.9869, allocations: 196.7 kB / 1.042 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.9869, allocations: 4 kB / 1.042 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.987, allocations: 42.55 kB / 1.042 GB, free: 7.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.987, allocations: 0 / 1.042 GB, free: 7.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.002316/0.9893, allocations: 1.08 MB / 1.043 GB, free: 6.613 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.9893, allocations: 59.34 kB / 1.044 GB, free: 6.543 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.9922, allocations: 1.793 MB / 1.045 GB, free: 4.742 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/0.9924, allocations: 45.7 kB / 1.045 GB, free: 4.691 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.9929, allocations: 0.5879 MB / 1.046 GB, free: 4.098 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.9931, allocations: 114.4 kB / 1.046 GB, free: 3.984 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.9936, allocations: 242.8 kB / 1.046 GB, free: 3.742 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9938, allocations: 349.9 kB / 1.047 GB, free: 3.395 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.9943, allocations: 326.4 kB / 1.047 GB, free: 3.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.9954, allocations: 0.9403 MB / 1.048 GB, free: 1.828 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.9971, allocations: 1.275 MB / 1.049 GB, free: 252 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/0.9972, allocations: 11.94 kB / 1.049 GB, free: 240 kB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002856/1, allocations: 1.445 MB / 1.05 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/1, allocations: 13.25 kB / 1.05 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/1, allocations: 24 kB / 1.05 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/1.001, allocations: 198.6 kB / 1.051 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/1.002, allocations: 235.6 kB / 1.051 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/1.006, allocations: 4.709 MB / 1.056 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.008, allocations: 178.5 kB / 1.056 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.008, allocations: 60 kB / 1.056 GB, free: 8.961 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.0008473/1.009, allocations: 489.6 kB / 1.056 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/1.009, allocations: 134.2 kB / 1.056 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/1.009, allocations: 130.4 kB / 1.056 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.009, allocations: 4 kB / 1.056 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.009, allocations: 4 kB / 1.056 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.009, allocations: 0 / 1.056 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/1.011, allocations: 0.9487 MB / 1.057 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.011, allocations: 0 / 1.057 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/1.011, allocations: 47.91 kB / 1.057 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/1.012, allocations: 170.4 kB / 1.058 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/1.012, allocations: 8 kB / 1.058 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/1.016, allocations: 4.654 MB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.016, allocations: 4.062 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/1.018, allocations: 0.8957 MB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/1.018, allocations: 307.2 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/1.019, allocations: 4 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/1.019, allocations: 47.92 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.019, allocations: 27.97 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.019, allocations: 4 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002215/1.022, allocations: 1.223 MB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/1.022, allocations: 4 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001513/1.023, allocations: 383.6 kB / 1.065 GB, free: 14.99 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.0001724/1.023, allocations: 107.2 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001919/1.025, allocations: 1.11 MB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.025, allocations: 3.938 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/1.026, allocations: 0.5624 MB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.028, allocations: 321.4 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/1.032, allocations: 2.877 MB / 1.07 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.034, allocations: 1.308 MB / 1.071 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007718/1.034, allocations: 244.8 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/1.035, allocations: 63.44 kB / 1.071 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/1.035, allocations: 0 / 1.071 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.0311/1.066, allocations: 16.09 MB / 1.087 GB, free: 8.395 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches