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.008185/0.008185, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001976/0.001976, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.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.313/2.313, allocations: 390.2 MB / 0.6649 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.635, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004893/0.64, allocations: 4.785 MB / 0.9542 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004137/0.6441, allocations: 3.294 MB / 0.9575 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.6446, allocations: 19.88 kB / 0.9575 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.6458, allocations: 497.4 kB / 0.958 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009677/0.6468, allocations: 0.661 MB / 0.9586 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.6479, allocations: 0.558 MB / 0.9591 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.6506, allocations: 3.028 MB / 0.9621 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.651, allocations: 266 kB / 0.9624 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.6521, allocations: 0.7261 MB / 0.9631 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.6531, allocations: 0.7972 MB / 0.9638 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.6532, allocations: 53.53 kB / 0.9639 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.6534, allocations: 60.09 kB / 0.964 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004873/0.6539, allocations: 477.5 kB / 0.9644 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007103/0.6546, allocations: 0.6955 MB / 0.9651 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.6557, allocations: 1.311 MB / 0.9664 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6557, allocations: 1.125 kB / 0.9664 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6557, allocations: 0 / 0.9664 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.6558, allocations: 0 / 0.9664 GB, free: 13.32 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.003223/0.659, allocations: 1.937 MB / 0.9683 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.659, allocations: 9.094 kB / 0.9683 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.6593, allocations: 167.5 kB / 0.9684 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.6611, allocations: 1.122 MB / 0.9695 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.6611, allocations: 59.81 kB / 0.9696 GB, free: 11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.6612, allocations: 81.41 kB / 0.9697 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.6621, allocations: 0.5668 MB / 0.9702 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6621, allocations: 0 / 0.9702 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.6622, allocations: 21.88 kB / 0.9702 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.6622, allocations: 10.97 kB / 0.9702 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.6628, allocations: 352.6 kB / 0.9706 GB, free: 10.41 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.005053/0.6679, allocations: 3.888 MB / 0.9744 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.669, allocations: 0.5121 MB / 0.9749 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.6694, allocations: 190.7 kB / 0.9751 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.6694, allocations: 3.688 kB / 0.9751 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.6694, allocations: 31.78 kB / 0.9751 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.6694, allocations: 1.156 kB / 0.9751 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002071/0.6715, allocations: 1.08 MB / 0.9761 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.6715, allocations: 62.22 kB / 0.9762 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.6738, allocations: 1.801 MB / 0.978 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.6739, allocations: 41.7 kB / 0.978 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.6744, allocations: 0.584 MB / 0.9786 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.6745, allocations: 106.5 kB / 0.9787 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.6748, allocations: 242.8 kB / 0.9789 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6749, allocations: 349.9 kB / 0.9792 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.6754, allocations: 330.4 kB / 0.9796 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.6763, allocations: 0.9442 MB / 0.9805 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.6776, allocations: 1.268 MB / 0.9817 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.6776, allocations: 8 kB / 0.9817 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002161/0.6798, allocations: 1.452 MB / 0.9831 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6798, allocations: 16 kB / 0.9832 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.6798, allocations: 20 kB / 0.9832 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.6805, allocations: 198.6 kB / 0.9834 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.6811, allocations: 239.6 kB / 0.9836 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.6849, allocations: 4.705 MB / 0.9882 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.6862, allocations: 178.5 kB / 0.9884 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.6863, allocations: 64 kB / 0.9884 GB, free: 8.625 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.0006246/0.6869, allocations: 482.5 kB / 0.9889 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.6871, allocations: 142.2 kB / 0.989 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.6873, allocations: 130.4 kB / 0.9891 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.6873, allocations: 7.984 kB / 0.9891 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6873, allocations: 0 / 0.9891 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6873, allocations: 3.984 kB / 0.9892 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.6884, allocations: 0.9446 MB / 0.9901 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6884, allocations: 0 / 0.9901 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.6886, allocations: 47.91 kB / 0.9901 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/0.6891, allocations: 166.6 kB / 0.9903 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.6892, allocations: 15.92 kB / 0.9903 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003656/0.6928, allocations: 4.65 MB / 0.9948 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6929, allocations: 7.969 kB / 0.9948 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.6942, allocations: 0.888 MB / 0.9957 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/0.6947, allocations: 299.1 kB / 0.996 GB, free: 360 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.6949, allocations: 11.98 kB / 0.996 GB, free: 348 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.6956, allocations: 43.94 kB / 0.996 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.6956, allocations: 31.95 kB / 0.9961 GB, free: 272 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.6957, allocations: 12 kB / 0.9961 GB, free: 260 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001704/0.6974, allocations: 1.216 MB / 0.9973 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6974, allocations: 0 / 0.9973 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00126/0.6987, allocations: 383.7 kB / 0.9976 GB, free: 14.67 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.0001337/0.6988, allocations: 119.2 kB / 0.9978 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.7004, allocations: 1.106 MB / 0.9988 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7004, allocations: 0 / 0.9988 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.7011, allocations: 0.5633 MB / 0.9994 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.7026, allocations: 317.4 kB / 0.9997 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.7068, allocations: 2.925 MB / 1.003 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/0.7077, allocations: 1.3 MB / 1.004 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.708, allocations: 67.44 kB / 1.004 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of SimCode: time 2.4e-07/0.708, allocations: 0 / 1.004 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of Templates: time 0.03699/0.745, allocations: 33.77 MB / 1.037 GB, free: 6.445 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches