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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002042/0.002043, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.337/2.337, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6863, allocations: 140.4 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005014/0.6914, allocations: 4.796 MB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.696, allocations: 3.293 MB / 0.9568 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008095/0.6969, allocations: 23.94 kB / 0.9568 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.6985, allocations: 489.4 kB / 0.9573 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.6999, allocations: 0.6712 MB / 0.9579 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.7016, allocations: 0.555 MB / 0.9585 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003974/0.7056, allocations: 3.023 MB / 0.9614 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005416/0.7062, allocations: 270.3 kB / 0.9617 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.7079, allocations: 0.7187 MB / 0.9624 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.7091, allocations: 0.8016 MB / 0.9632 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.7093, allocations: 53.88 kB / 0.9632 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.7095, allocations: 56 kB / 0.9633 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.71, allocations: 481.2 kB / 0.9637 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009075/0.7109, allocations: 0.6997 MB / 0.9644 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.7125, allocations: 1.617 MB / 0.966 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7125, allocations: 1.406 kB / 0.966 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7125, allocations: 0 / 0.966 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.7126, allocations: 0 / 0.966 GB, free: 13.04 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.003673/0.7162, allocations: 1.933 MB / 0.9679 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7163, allocations: 8.156 kB / 0.9679 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.7166, allocations: 166.8 kB / 0.9681 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.7187, allocations: 1.127 MB / 0.9692 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.7188, allocations: 55.09 kB / 0.9692 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.7189, allocations: 81.5 kB / 0.9693 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.72, allocations: 0.5673 MB / 0.9698 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.72, allocations: 0 / 0.9698 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.72, allocations: 21.19 kB / 0.9699 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.7201, allocations: 11.38 kB / 0.9699 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.7207, allocations: 357.1 kB / 0.9702 GB, free: 10.13 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.005777/0.7265, allocations: 3.883 MB / 0.974 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.7278, allocations: 0.5052 MB / 0.9745 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.7281, allocations: 194 kB / 0.9747 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.7281, allocations: 3.75 kB / 0.9747 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.7282, allocations: 31.62 kB / 0.9747 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.7282, allocations: 0 / 0.9747 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002284/0.7305, allocations: 1.085 MB / 0.9758 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.7305, allocations: 66.02 kB / 0.9758 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.7331, allocations: 1.795 MB / 0.9776 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.7332, allocations: 45.7 kB / 0.9776 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.7337, allocations: 0.584 MB / 0.9782 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.7339, allocations: 110.5 kB / 0.9783 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.7342, allocations: 242.8 kB / 0.9785 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.7344, allocations: 345.9 kB / 0.9789 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.7349, allocations: 338.3 kB / 0.9792 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008964/0.7358, allocations: 0.9325 MB / 0.9801 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.7372, allocations: 1.283 MB / 0.9814 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.7372, allocations: 8 kB / 0.9814 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002341/0.7395, allocations: 1.452 MB / 0.9828 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.7396, allocations: 12 kB / 0.9828 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.7396, allocations: 24 kB / 0.9828 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.7403, allocations: 194.7 kB / 0.983 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.741, allocations: 235.6 kB / 0.9832 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.7451, allocations: 4.697 MB / 0.9878 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.7465, allocations: 182.5 kB / 0.988 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.7466, allocations: 60 kB / 0.9881 GB, free: 8.312 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.000732/0.7474, allocations: 485 kB / 0.9885 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.7476, allocations: 146.2 kB / 0.9887 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.7478, allocations: 122.4 kB / 0.9888 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7478, allocations: 4 kB / 0.9888 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.7478, allocations: 4 kB / 0.9888 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.7478, allocations: 3.938 kB / 0.9888 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.749, allocations: 0.9367 MB / 0.9897 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.749, allocations: 3.984 kB / 0.9897 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.7493, allocations: 44.16 kB / 0.9897 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.7498, allocations: 170.4 kB / 0.9899 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.7498, allocations: 8 kB / 0.9899 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/0.7541, allocations: 4.662 MB / 0.9945 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7541, allocations: 0 / 0.9945 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.7556, allocations: 0.8919 MB / 0.9953 GB, free: 368 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.7561, allocations: 303.1 kB / 0.9956 GB, free: 44 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.7562, allocations: 4 kB / 0.9956 GB, free: 40 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.7569, allocations: 47.92 kB / 0.9957 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.7569, allocations: 31.97 kB / 0.9957 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.757, allocations: 8 kB / 0.9957 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001836/0.7588, allocations: 1.223 MB / 0.9969 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7588, allocations: 0 / 0.9969 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001431/0.7603, allocations: 379.7 kB / 0.9973 GB, free: 14.36 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.0001737/0.7604, allocations: 115.2 kB / 0.9974 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.7623, allocations: 1.117 MB / 0.9985 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7624, allocations: 0 / 0.9985 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.7631, allocations: 0.5595 MB / 0.999 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.7648, allocations: 321.4 kB / 0.9993 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.7695, allocations: 2.888 MB / 1.002 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.7706, allocations: 1.308 MB / 1.003 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007274/0.7713, allocations: 244.8 kB / 1.004 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.7715, allocations: 63.44 kB / 1.004 GB, free: 7.609 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/0.7715, allocations: 3.938 kB / 1.004 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of Templates: time 0.02988/0.8014, allocations: 16.09 MB / 1.019 GB, free: 7.754 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