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.001299/0.001299, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 195.6 kB / 16.54 MB, free: 6.672 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.422/2.422, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.8085, allocations: 140.4 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.008318/0.8169, allocations: 4.778 MB / 0.9542 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.8266, allocations: 3.264 MB / 0.9574 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.8282, allocations: 21.16 kB / 0.9574 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.8309, allocations: 0.5317 MB / 0.958 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.8337, allocations: 0.7006 MB / 0.9586 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.8362, allocations: 0.6449 MB / 0.9593 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.8412, allocations: 2.586 MB / 0.9618 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007755/0.842, allocations: 301.4 kB / 0.9621 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.8443, allocations: 0.7956 MB / 0.9629 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.8462, allocations: 0.7847 MB / 0.9636 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.8465, allocations: 88.41 kB / 0.9637 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.8469, allocations: 93.41 kB / 0.9638 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007949/0.8477, allocations: 0.5023 MB / 0.9643 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.849, allocations: 0.7479 MB / 0.965 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.8518, allocations: 1.659 MB / 0.9666 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.8519, allocations: 0 / 0.9666 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8519, allocations: 0 / 0.9666 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.785e-05/0.8519, allocations: 4 kB / 0.9666 GB, free: 13.13 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.006473/0.8584, allocations: 1.929 MB / 0.9685 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.8585, allocations: 13.78 kB / 0.9685 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/0.859, allocations: 166.5 kB / 0.9687 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.8624, allocations: 1.122 MB / 0.9698 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.114e-05/0.8626, allocations: 63.11 kB / 0.9699 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.8628, allocations: 77.53 kB / 0.9699 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.8644, allocations: 0.5708 MB / 0.9705 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.8644, allocations: 5.312 kB / 0.9705 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.8645, allocations: 16.38 kB / 0.9705 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.8646, allocations: 11.47 kB / 0.9705 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.8657, allocations: 352.5 kB / 0.9709 GB, free: 10.22 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.009203/0.8749, allocations: 3.886 MB / 0.9746 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.8772, allocations: 0.5061 MB / 0.9751 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.8777, allocations: 187.8 kB / 0.9753 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.8778, allocations: 2.219 kB / 0.9753 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.8778, allocations: 40.81 kB / 0.9754 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 4.809e-06/0.8779, allocations: 4 kB / 0.9754 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.004215/0.8821, allocations: 1.086 MB / 0.9764 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.8822, allocations: 58.41 kB / 0.9765 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/0.8865, allocations: 1.796 MB / 0.9782 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.8867, allocations: 45.7 kB / 0.9783 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008286/0.8875, allocations: 0.5878 MB / 0.9789 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.8878, allocations: 110.5 kB / 0.979 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004594/0.8882, allocations: 238.8 kB / 0.9792 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.8885, allocations: 353.9 kB / 0.9795 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/0.8893, allocations: 318.4 kB / 0.9798 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.8907, allocations: 0.9481 MB / 0.9808 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.8932, allocations: 1.267 MB / 0.982 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.8932, allocations: 8 kB / 0.982 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004349/0.8976, allocations: 1.449 MB / 0.9834 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.8976, allocations: 23.88 kB / 0.9834 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-05/0.8977, allocations: 20 kB / 0.9835 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009993/0.8987, allocations: 194.7 kB / 0.9836 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.9, allocations: 247.5 kB / 0.9839 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/0.9073, allocations: 5.063 MB / 0.9888 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.9101, allocations: 182.4 kB / 0.989 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.9103, allocations: 64 kB / 0.9891 GB, free: 7.875 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.001071/0.9114, allocations: 485.1 kB / 0.9895 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.9118, allocations: 134.2 kB / 0.9896 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.9121, allocations: 126.3 kB / 0.9898 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9121, allocations: 4 kB / 0.9898 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.9122, allocations: 4 kB / 0.9898 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.9122, allocations: 7.984 kB / 0.9898 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.9141, allocations: 0.9408 MB / 0.9907 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9142, allocations: 0 / 0.9907 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.9146, allocations: 39.97 kB / 0.9907 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008165/0.9155, allocations: 170.4 kB / 0.9909 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.9155, allocations: 15.92 kB / 0.9909 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006854/0.9224, allocations: 5.016 MB / 0.9958 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9224, allocations: 0 / 0.9958 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.9251, allocations: 0.9018 MB / 0.9967 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.9262, allocations: 295.2 kB / 0.997 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/0.9267, allocations: 15.92 kB / 0.997 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.928, allocations: 35.94 kB / 0.997 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.9281, allocations: 31.97 kB / 0.9971 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.9282, allocations: 12 kB / 0.9971 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0038/0.932, allocations: 1.216 MB / 0.9983 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.31e-07/0.932, allocations: 0 / 0.9983 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002686/0.9347, allocations: 379.6 kB / 0.9986 GB, free: 13.54 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.0002313/0.935, allocations: 107.2 kB / 0.9987 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.9381, allocations: 1.137 MB / 0.9998 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9381, allocations: 0 / 0.9998 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.9394, allocations: 0.5662 MB / 1 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.9426, allocations: 346 kB / 1.001 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.9502, allocations: 2.506 MB / 1.003 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/0.9522, allocations: 1.312 MB / 1.004 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001397/0.9537, allocations: 244.8 kB / 1.005 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/0.9541, allocations: 63.44 kB / 1.005 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of SimCode: time 1.263e-06/0.9542, allocations: 0 / 1.005 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of Templates: time 0.05476/1.009, allocations: 16.77 MB / 1.021 GB, free: 6.617 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