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.0009917/0.0009919, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007792/0.007792, allocations: 170.1 kB / 16.27 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.492/2.492, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 11.98 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7442, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004295/0.7485, allocations: 4.387 MB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.7532, allocations: 3.253 MB / 0.9625 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.7537, allocations: 19 kB / 0.9625 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.755, allocations: 491.4 kB / 0.963 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.7562, allocations: 0.6659 MB / 0.9636 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.7575, allocations: 0.5697 MB / 0.9642 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003658/0.7611, allocations: 3.015 MB / 0.9671 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/0.7616, allocations: 265.9 kB / 0.9674 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.7631, allocations: 0.7216 MB / 0.9681 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.7643, allocations: 0.7767 MB / 0.9688 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.7644, allocations: 47.62 kB / 0.9689 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.7646, allocations: 49.09 kB / 0.9689 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004784/0.7651, allocations: 465.2 kB / 0.9694 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007218/0.7658, allocations: 0.7101 MB / 0.9701 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.7673, allocations: 1.584 MB / 0.9716 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7673, allocations: 3.938 kB / 0.9716 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7673, allocations: 4.844 kB / 0.9716 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.7674, allocations: 0 / 0.9716 GB, free: 11.98 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.003263/0.7706, allocations: 1.705 MB / 0.9733 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7707, allocations: 9.438 kB / 0.9733 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.771, allocations: 170.6 kB / 0.9735 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.7728, allocations: 1.123 MB / 0.9745 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.7729, allocations: 58.78 kB / 0.9746 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.773, allocations: 77.47 kB / 0.9747 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/0.774, allocations: 0.5729 MB / 0.9752 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.774, allocations: 7.938 kB / 0.9752 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.7741, allocations: 17.03 kB / 0.9753 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.7741, allocations: 12.19 kB / 0.9753 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.7747, allocations: 359.8 kB / 0.9756 GB, free: 9.219 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.004814/0.7795, allocations: 3.902 MB / 0.9794 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.7807, allocations: 0.5048 MB / 0.9799 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.781, allocations: 196.8 kB / 0.9801 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.781, allocations: 4 kB / 0.9801 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.7811, allocations: 38.5 kB / 0.9801 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/0.7811, allocations: 0 / 0.9801 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.00209/0.7832, allocations: 1.1 MB / 0.9812 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.7832, allocations: 59.34 kB / 0.9813 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.7856, allocations: 1.797 MB / 0.983 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.7856, allocations: 45.7 kB / 0.9831 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.7861, allocations: 0.5762 MB / 0.9836 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.7863, allocations: 114.4 kB / 0.9837 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.7864, allocations: 129.6 kB / 0.9839 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7866, allocations: 361.9 kB / 0.9842 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.7871, allocations: 322.4 kB / 0.9845 GB, free: 496 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.788, allocations: 0.9481 MB / 0.9855 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.7894, allocations: 1.271 MB / 0.9867 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.7894, allocations: 8 kB / 0.9867 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002246/0.7917, allocations: 1.456 MB / 0.9881 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.7917, allocations: 17.88 kB / 0.9881 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/0.7918, allocations: 20 kB / 0.9882 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/0.7924, allocations: 194.7 kB / 0.9883 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.7931, allocations: 239.6 kB / 0.9886 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.7972, allocations: 4.705 MB / 0.9932 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.7987, allocations: 182.6 kB / 0.9933 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.7988, allocations: 60 kB / 0.9934 GB, free: 6.355 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.0007298/0.7995, allocations: 489 kB / 0.9939 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.7997, allocations: 142.1 kB / 0.994 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.7999, allocations: 122.4 kB / 0.9941 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8, allocations: 8 kB / 0.9941 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.8, allocations: 7.938 kB / 0.9941 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8, allocations: 4.234 kB / 0.9941 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.8011, allocations: 0.9407 MB / 0.9951 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8011, allocations: 4 kB / 0.9951 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.8014, allocations: 43.97 kB / 0.9951 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.8019, allocations: 166.4 kB / 0.9953 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.8019, allocations: 11.98 kB / 0.9953 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.8059, allocations: 4.666 MB / 0.9998 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8059, allocations: 0 / 0.9998 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.8074, allocations: 0.8958 MB / 1.001 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.8079, allocations: 307.1 kB / 1.001 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.8081, allocations: 4 kB / 1.001 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.8087, allocations: 47.94 kB / 1.001 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.8088, allocations: 31.95 kB / 1.001 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.8088, allocations: 7.938 kB / 1.001 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001793/0.8106, allocations: 1.227 MB / 1.002 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8106, allocations: 0 / 1.002 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001355/0.812, allocations: 383.7 kB / 1.003 GB, free: 12.37 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.000165/0.8121, allocations: 107.3 kB / 1.003 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.8138, allocations: 1.118 MB / 1.004 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8138, allocations: 0 / 1.004 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.8146, allocations: 0.5708 MB / 1.004 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.8161, allocations: 318.4 kB / 1.005 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.82, allocations: 2.977 MB / 1.008 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009941/0.8211, allocations: 1.312 MB / 1.009 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006857/0.8217, allocations: 240.8 kB / 1.009 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.8219, allocations: 63.44 kB / 1.009 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of SimCode: time 8.91e-07/0.8219, allocations: 0 / 1.009 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of Templates: time 0.03151/0.8535, allocations: 15.9 MB / 1.025 GB, free: 5.859 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