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.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.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.001129/0.001129, allocations: 92.16 kB / 16.02 MB, free: 80 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.001566/0.001566, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.25 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.382/2.382, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.000333, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.6102, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003682/0.6139, allocations: 3.975 MB / 0.9596 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004283/0.6183, allocations: 2.941 MB / 0.9624 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006909/0.619, allocations: 18.88 kB / 0.9625 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009899/0.62, allocations: 329.3 kB / 0.9628 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.6215, allocations: 0.6009 MB / 0.9634 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.623, allocations: 0.5511 MB / 0.9639 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002548/0.6256, allocations: 2.193 MB / 0.966 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.6259, allocations: 155.2 kB / 0.9662 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.627, allocations: 0.5151 MB / 0.9667 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.6284, allocations: 0.6666 MB / 0.9673 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.6287, allocations: 45.78 kB / 0.9674 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.6298, allocations: 395 kB / 0.9678 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005904/0.6304, allocations: 425.4 kB / 0.9682 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.6315, allocations: 0.5742 MB / 0.9687 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.6331, allocations: 1.079 MB / 0.9698 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6331, allocations: 0 / 0.9698 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6331, allocations: 1.062 kB / 0.9698 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.053e-05/0.6332, allocations: 0 / 0.9698 GB, free: 13.57 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.003721/0.6369, allocations: 1.454 MB / 0.9712 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6369, allocations: 13.88 kB / 0.9712 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.6373, allocations: 131.3 kB / 0.9713 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.6391, allocations: 0.8189 MB / 0.9721 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.6392, allocations: 44.06 kB / 0.9722 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.6394, allocations: 65.25 kB / 0.9722 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.6404, allocations: 0.6147 MB / 0.9728 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.6405, allocations: 4.969 kB / 0.9728 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.6405, allocations: 23.53 kB / 0.9729 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.6406, allocations: 10.41 kB / 0.9729 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/0.6415, allocations: 0.5609 MB / 0.9734 GB, free: 11.17 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.005302/0.6468, allocations: 3.303 MB / 0.9767 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.6482, allocations: 0.8511 MB / 0.9775 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.6488, allocations: 362.6 kB / 0.9778 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.6489, allocations: 32.3 kB / 0.9779 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.6489, allocations: 41.59 kB / 0.9779 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.315e-06/0.6489, allocations: 0 / 0.9779 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002019/0.6509, allocations: 1.183 MB / 0.9791 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.651, allocations: 55.41 kB / 0.9791 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.6529, allocations: 1.231 MB / 0.9803 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.653, allocations: 41.7 kB / 0.9804 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.6535, allocations: 468.6 kB / 0.9808 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.6537, allocations: 173.6 kB / 0.981 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.6538, allocations: 125.6 kB / 0.9811 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.654, allocations: 345.9 kB / 0.9814 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008522/0.6548, allocations: 0.6504 MB / 0.982 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.6559, allocations: 0.9669 MB / 0.983 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.6579, allocations: 1.597 MB / 0.9846 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.6579, allocations: 0 / 0.9846 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002692/0.6606, allocations: 1.787 MB / 0.9863 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6606, allocations: 8 kB / 0.9863 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.6607, allocations: 12.72 kB / 0.9863 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.6609, allocations: 48.83 kB / 0.9864 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.6621, allocations: 271.6 kB / 0.9866 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.6663, allocations: 6.733 MB / 0.9932 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.6676, allocations: 142.7 kB / 0.9933 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.6677, allocations: 40 kB / 0.9934 GB, free: 7.645 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.0005189/0.6682, allocations: 302.9 kB / 0.9937 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.6685, allocations: 110.5 kB / 0.9938 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.6699, allocations: 0.853 MB / 0.9946 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.6699, allocations: 7.938 kB / 0.9946 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.6699, allocations: 0 / 0.9946 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6699, allocations: 3.984 kB / 0.9946 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.6713, allocations: 0.9074 MB / 0.9955 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6713, allocations: 0 / 0.9955 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.6719, allocations: 115.9 kB / 0.9956 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.672, allocations: 32.77 kB / 0.9956 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.6721, allocations: 23.92 kB / 0.9957 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.6731, allocations: 1.334 MB / 0.997 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6732, allocations: 0 / 0.997 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.675, allocations: 1.378 MB / 0.9983 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.6756, allocations: 267.5 kB / 0.9986 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.6758, allocations: 12 kB / 0.9986 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.6765, allocations: 31.95 kB / 0.9986 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.6766, allocations: 23.97 kB / 0.9986 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.6766, allocations: 20 kB / 0.9987 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001352/0.678, allocations: 0.8193 MB / 0.9995 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/0.678, allocations: 0 / 0.9995 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001426/0.6794, allocations: 371.5 kB / 0.9998 GB, free: 0.8086 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.0008725/0.6803, allocations: 267 kB / 1 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.6834, allocations: 1.519 MB / 1.002 GB, free: 15 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6835, allocations: 0 / 1.002 GB, free: 15 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/0.6841, allocations: 486.9 kB / 1.002 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.6859, allocations: 217.5 kB / 1.002 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.6901, allocations: 3.116 MB / 1.005 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.6909, allocations: 1.106 MB / 1.006 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.6912, allocations: 67.44 kB / 1.006 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of SimCode: time 8.42e-07/0.6912, allocations: 0 / 1.006 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of Templates: time 0.03852/0.7298, allocations: 30.56 MB / 1.036 GB, free: 11.43 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches