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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001469/0.001469, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001596/0.001596, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7021, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.00484/0.707, allocations: 4.789 MB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004662/0.7117, allocations: 3.25 MB / 0.9569 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.7126, allocations: 22.47 kB / 0.957 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.7143, allocations: 496.2 kB / 0.9574 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.7162, allocations: 0.6669 MB / 0.9581 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.7178, allocations: 0.5802 MB / 0.9586 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003495/0.7214, allocations: 2.629 MB / 0.9612 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.7219, allocations: 297.7 kB / 0.9615 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.7238, allocations: 0.8395 MB / 0.9623 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.7252, allocations: 0.8349 MB / 0.9631 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.7254, allocations: 87.28 kB / 0.9632 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.7257, allocations: 101.3 kB / 0.9633 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.7262, allocations: 0.5094 MB / 0.9638 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008613/0.7271, allocations: 0.7477 MB / 0.9645 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.7288, allocations: 1.654 MB / 0.9662 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7288, allocations: 1.188 kB / 0.9662 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7288, allocations: 0 / 0.9662 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.26e-05/0.7289, allocations: 0 / 0.9662 GB, free: 12.95 MB / 0.7325 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.006495/0.7354, allocations: 1.933 MB / 0.968 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.444e-05/0.7355, allocations: 9.531 kB / 0.968 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006197/0.7361, allocations: 167 kB / 0.9682 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.7383, allocations: 1.119 MB / 0.9693 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.115e-05/0.7384, allocations: 59.62 kB / 0.9694 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7385, allocations: 80.53 kB / 0.9694 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.7396, allocations: 0.5636 MB / 0.97 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.7397, allocations: 4 kB / 0.97 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.7397, allocations: 21.53 kB / 0.97 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.7397, allocations: 11.12 kB / 0.97 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.7404, allocations: 360.4 kB / 0.9704 GB, free: 10.04 MB / 0.7325 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.005626/0.746, allocations: 3.879 MB / 0.9742 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.7473, allocations: 0.509 MB / 0.9746 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.7476, allocations: 190.8 kB / 0.9748 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.7477, allocations: 2.844 kB / 0.9748 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.7477, allocations: 37.41 kB / 0.9749 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.875e-06/0.7477, allocations: 0 / 0.9749 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002346/0.7501, allocations: 1.08 MB / 0.9759 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.7501, allocations: 57.97 kB / 0.976 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.7528, allocations: 1.804 MB / 0.9777 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.7529, allocations: 41.7 kB / 0.9778 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.7534, allocations: 0.5917 MB / 0.9784 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.7535, allocations: 114.5 kB / 0.9785 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.7538, allocations: 234.8 kB / 0.9787 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.754, allocations: 353.9 kB / 0.979 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.7545, allocations: 326.3 kB / 0.9793 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.7553, allocations: 0.9442 MB / 0.9803 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.7567, allocations: 1.275 MB / 0.9815 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.7567, allocations: 11.94 kB / 0.9815 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002401/0.7591, allocations: 1.441 MB / 0.9829 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.7591, allocations: 20.09 kB / 0.9829 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.7592, allocations: 24 kB / 0.983 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.7598, allocations: 190.4 kB / 0.9832 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.7605, allocations: 239.6 kB / 0.9834 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.7647, allocations: 5.059 MB / 0.9883 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.7664, allocations: 186.4 kB / 0.9885 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.7665, allocations: 63.98 kB / 0.9886 GB, free: 7.93 MB / 0.7481 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.000696/0.7672, allocations: 481.2 kB / 0.989 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.7674, allocations: 138.4 kB / 0.9891 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.7676, allocations: 130.3 kB / 0.9893 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7676, allocations: 7.984 kB / 0.9893 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.7676, allocations: 8 kB / 0.9893 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.7676, allocations: 0 / 0.9893 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.7687, allocations: 0.9407 MB / 0.9902 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7688, allocations: 0 / 0.9902 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.769, allocations: 39.97 kB / 0.9902 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/0.7695, allocations: 174.4 kB / 0.9904 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.7695, allocations: 11.94 kB / 0.9904 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.7734, allocations: 5.02 MB / 0.9953 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7734, allocations: 0 / 0.9953 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.7749, allocations: 0.8958 MB / 0.9962 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/0.7755, allocations: 303.3 kB / 0.9965 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.7757, allocations: 11.94 kB / 0.9965 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.7763, allocations: 47.91 kB / 0.9965 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.7764, allocations: 28.22 kB / 0.9966 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.7764, allocations: 4 kB / 0.9966 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001988/0.7784, allocations: 1.227 MB / 0.9978 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7784, allocations: 0 / 0.9978 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001573/0.78, allocations: 387.5 kB / 0.9981 GB, free: 13.57 MB / 0.7637 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.0001639/0.7801, allocations: 111.2 kB / 0.9983 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.7821, allocations: 1.138 MB / 0.9994 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7822, allocations: 8.125 kB / 0.9994 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.7829, allocations: 0.5584 MB / 0.9999 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.7848, allocations: 339.1 kB / 1 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.7893, allocations: 2.878 MB / 1.003 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/0.7903, allocations: 1.316 MB / 1.004 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008018/0.7912, allocations: 244.8 kB / 1.005 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.7914, allocations: 63.44 kB / 1.005 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of SimCode: time 7.52e-07/0.7914, allocations: 4 kB / 1.005 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of Templates: time 0.02986/0.8212, allocations: 16.73 MB / 1.021 GB, free: 6.309 MB / 0.7794 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches