Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001819/0.001819, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.581/2.581, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7869, allocations: 140.3 MB / 0.9491 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006277/0.7932, allocations: 4.373 MB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004498/0.7977, allocations: 2.929 MB / 0.9562 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.7982, allocations: 23.81 kB / 0.9562 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009326/0.7992, allocations: 325.2 kB / 0.9565 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.8003, allocations: 0.5948 MB / 0.9571 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.8019, allocations: 0.5829 MB / 0.9577 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001989/0.8039, allocations: 1.885 MB / 0.9595 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.8042, allocations: 181.7 kB / 0.9597 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.805, allocations: 0.5916 MB / 0.9603 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008346/0.8059, allocations: 0.7084 MB / 0.961 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.806, allocations: 76.19 kB / 0.9611 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007768/0.8068, allocations: 403.8 kB / 0.9614 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004997/0.8073, allocations: 470 kB / 0.9619 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.8079, allocations: 0.6011 MB / 0.9625 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.8096, allocations: 1.455 MB / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8096, allocations: 1 kB / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8097, allocations: 0 / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.8097, allocations: 0 / 0.9639 GB, free: 14.33 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003194/0.8129, allocations: 1.617 MB / 0.9655 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.8129, allocations: 13.44 kB / 0.9655 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.8132, allocations: 136.1 kB / 0.9656 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.8145, allocations: 0.8185 MB / 0.9664 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.8146, allocations: 40.31 kB / 0.9665 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.8147, allocations: 69.09 kB / 0.9665 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009915/0.8157, allocations: 0.6132 MB / 0.9671 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.8157, allocations: 1.312 kB / 0.9671 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.8158, allocations: 20.03 kB / 0.9671 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.8158, allocations: 9.438 kB / 0.9671 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.8166, allocations: 0.5565 MB / 0.9677 GB, free: 11.82 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.00468/0.8213, allocations: 3.285 MB / 0.9709 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.8229, allocations: 0.8442 MB / 0.9717 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.8234, allocations: 362 kB / 0.9721 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.211e-05/0.8235, allocations: 32.02 kB / 0.9721 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.8235, allocations: 41.62 kB / 0.9721 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.883e-06/0.8235, allocations: 0 / 0.9721 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002135/0.8257, allocations: 1.17 MB / 0.9733 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.8257, allocations: 56.16 kB / 0.9733 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.8276, allocations: 1.239 MB / 0.9745 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/0.8277, allocations: 40.45 kB / 0.9746 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.8281, allocations: 464 kB / 0.975 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.8283, allocations: 179.8 kB / 0.9752 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.8287, allocations: 204.5 kB / 0.9754 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8289, allocations: 359.8 kB / 0.9757 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/0.8297, allocations: 0.6387 MB / 0.9764 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.8308, allocations: 0.9747 MB / 0.9773 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.8325, allocations: 1.59 MB / 0.9789 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.8325, allocations: 4 kB / 0.9789 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002472/0.835, allocations: 1.779 MB / 0.9806 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.835, allocations: 8 kB / 0.9806 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.8351, allocations: 12 kB / 0.9806 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/0.8353, allocations: 48.83 kB / 0.9807 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8364, allocations: 275.9 kB / 0.9809 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/0.8407, allocations: 6.832 MB / 0.9876 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.842, allocations: 138.9 kB / 0.9877 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.8421, allocations: 36 kB / 0.9878 GB, free: 9.258 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005145/0.8426, allocations: 301.5 kB / 0.9881 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.8427, allocations: 114.5 kB / 0.9882 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.844, allocations: 0.8491 MB / 0.989 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.8441, allocations: 8 kB / 0.989 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.8441, allocations: 0 / 0.989 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8441, allocations: 3.984 kB / 0.989 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.8453, allocations: 0.9112 MB / 0.9899 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.8453, allocations: 4 kB / 0.9899 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.8459, allocations: 107.9 kB / 0.99 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.846, allocations: 36.83 kB / 0.99 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.8461, allocations: 11.98 kB / 0.9901 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.8473, allocations: 1.441 MB / 0.9915 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8473, allocations: 0 / 0.9915 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.849, allocations: 1.366 MB / 0.9928 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.8493, allocations: 259.5 kB / 0.993 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.8495, allocations: 24.05 kB / 0.9931 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.8501, allocations: 39.8 kB / 0.9931 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.8501, allocations: 27.97 kB / 0.9931 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.8502, allocations: 15.92 kB / 0.9931 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001156/0.8513, allocations: 0.8233 MB / 0.9939 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8513, allocations: 0 / 0.9939 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001229/0.8526, allocations: 371.6 kB / 0.9943 GB, free: 2.312 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0005265/0.8531, allocations: 263 kB / 0.9946 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00259/0.8557, allocations: 1.612 MB / 0.9961 GB, free: 424 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8557, allocations: 3.938 kB / 0.9961 GB, free: 420 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.8563, allocations: 470.4 kB / 0.9966 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.8574, allocations: 225.6 kB / 0.9968 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.8612, allocations: 2.853 MB / 0.9996 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.8618, allocations: 1.106 MB / 1.001 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005616/0.8624, allocations: 203.1 kB / 1.001 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.8626, allocations: 63.44 kB / 1.001 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of SimCode: time 3.2e-07/0.8626, allocations: 0 / 1.001 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of Templates: time 0.02415/0.8868, allocations: 14.5 MB / 1.015 GB, free: 13.11 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches