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.001123/0.001123, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001153/0.001153, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 4.547 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.395/2.395, allocations: 390.2 MB / 0.665 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 0.8127 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.6004, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004576/0.6051, allocations: 4.792 MB / 0.9544 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004292/0.6094, allocations: 3.254 MB / 0.9576 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.6102, allocations: 19.25 kB / 0.9576 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.6116, allocations: 495.7 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.613, allocations: 0.6706 MB / 0.9588 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.6143, allocations: 0.5762 MB / 0.9593 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002637/0.617, allocations: 2.626 MB / 0.9619 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.6174, allocations: 304.9 kB / 0.9622 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.6188, allocations: 0.8392 MB / 0.963 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.6199, allocations: 0.8355 MB / 0.9638 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.6201, allocations: 87.53 kB / 0.9639 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.6204, allocations: 97.91 kB / 0.964 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.6209, allocations: 0.5127 MB / 0.9645 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007607/0.6216, allocations: 0.7473 MB / 0.9652 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.6229, allocations: 1.331 MB / 0.9665 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.623, allocations: 0 / 0.9665 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.623, allocations: 1.062 kB / 0.9665 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.623, allocations: 0 / 0.9665 GB, free: 13.34 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.003431/0.6264, allocations: 1.933 MB / 0.9684 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6265, allocations: 8.812 kB / 0.9684 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.6268, allocations: 168 kB / 0.9686 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.6286, allocations: 1.126 MB / 0.9697 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.6286, allocations: 55.56 kB / 0.9697 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6287, allocations: 85.88 kB / 0.9698 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.6296, allocations: 0.5623 MB / 0.9704 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6297, allocations: 1.031 kB / 0.9704 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.6297, allocations: 24.31 kB / 0.9704 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.6297, allocations: 11.91 kB / 0.9704 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.6303, allocations: 356.8 kB / 0.9707 GB, free: 10.43 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.005264/0.6356, allocations: 3.879 MB / 0.9745 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.6368, allocations: 0.5057 MB / 0.975 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.6372, allocations: 190.3 kB / 0.9752 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.6372, allocations: 8.031 kB / 0.9752 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.6372, allocations: 35.62 kB / 0.9752 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.6372, allocations: 0 / 0.9752 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002232/0.6395, allocations: 1.085 MB / 0.9763 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.6395, allocations: 58.25 kB / 0.9763 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.642, allocations: 1.798 MB / 0.9781 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.6421, allocations: 45.7 kB / 0.9781 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/0.6426, allocations: 0.5917 MB / 0.9787 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.6428, allocations: 106.5 kB / 0.9788 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.6431, allocations: 242.8 kB / 0.9791 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6432, allocations: 345.9 kB / 0.9794 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.6438, allocations: 330.4 kB / 0.9797 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000879/0.6446, allocations: 0.9364 MB / 0.9806 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.646, allocations: 1.275 MB / 0.9819 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.6461, allocations: 8 kB / 0.9819 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002315/0.6484, allocations: 1.448 MB / 0.9833 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6484, allocations: 12.44 kB / 0.9833 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.6484, allocations: 28 kB / 0.9833 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.6491, allocations: 198.4 kB / 0.9835 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.6498, allocations: 239.6 kB / 0.9837 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.6539, allocations: 5.067 MB / 0.9887 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.6554, allocations: 182.4 kB / 0.9889 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/0.6555, allocations: 60 kB / 0.9889 GB, free: 8.285 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.0007692/0.6563, allocations: 493.1 kB / 0.9894 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.6566, allocations: 134.2 kB / 0.9895 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.6569, allocations: 130.3 kB / 0.9896 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6569, allocations: 0 / 0.9896 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.6569, allocations: 4 kB / 0.9896 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6569, allocations: 3.984 kB / 0.9897 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.6582, allocations: 0.9408 MB / 0.9906 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6582, allocations: 0 / 0.9906 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.6585, allocations: 39.97 kB / 0.9906 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.659, allocations: 166.4 kB / 0.9908 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.659, allocations: 19.86 kB / 0.9908 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.6629, allocations: 5.021 MB / 0.9957 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6629, allocations: 4.062 kB / 0.9957 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.6643, allocations: 0.8918 MB / 0.9966 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/0.665, allocations: 303.2 kB / 0.9969 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.6653, allocations: 15.92 kB / 0.9969 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.666, allocations: 39.94 kB / 0.9969 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.6661, allocations: 35.89 kB / 0.9969 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.6661, allocations: 8 kB / 0.9969 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001997/0.6681, allocations: 1.212 MB / 0.9981 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6681, allocations: 4 kB / 0.9981 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001643/0.6698, allocations: 391.5 kB / 0.9985 GB, free: 13.93 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.0001625/0.6699, allocations: 107.2 kB / 0.9986 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.6718, allocations: 1.141 MB / 0.9997 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.6718, allocations: 384 / 0.9997 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.6725, allocations: 0.5623 MB / 1 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.6744, allocations: 347.3 kB / 1.001 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.6788, allocations: 2.915 MB / 1.003 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.6799, allocations: 1.304 MB / 1.005 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.6801, allocations: 63.44 kB / 1.005 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/0.6801, allocations: 4 kB / 1.005 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of Templates: time 0.04277/0.7229, allocations: 33.77 MB / 1.038 GB, free: 5.656 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