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.001572/0.001572, allocations: 110.1 kB / 15.99 MB, free: 6.359 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.001832/0.001832, allocations: 199 kB / 16.91 MB, free: 6.191 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.22/2.22, allocations: 390.3 MB / 0.665 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.5 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2452, allocations: 140.4 MB / 0.9497 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005879/0.2511, allocations: 4.375 MB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004944/0.2561, allocations: 2.937 MB / 0.9569 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.2569, allocations: 19.88 kB / 0.9569 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.2581, allocations: 334.2 kB / 0.9572 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.2598, allocations: 0.5873 MB / 0.9578 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2614, allocations: 0.5771 MB / 0.9584 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.2637, allocations: 1.886 MB / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.2641, allocations: 185.9 kB / 0.9604 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.2652, allocations: 0.5878 MB / 0.961 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2664, allocations: 0.7123 MB / 0.9616 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.2667, allocations: 79.94 kB / 0.9617 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.2675, allocations: 403.4 kB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005617/0.2681, allocations: 458.7 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008892/0.269, allocations: 0.6023 MB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.2704, allocations: 1.115 MB / 0.9642 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2704, allocations: 0 / 0.9642 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2704, allocations: 0 / 0.9642 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.382e-05/0.2704, allocations: 0 / 0.9642 GB, free: 10.36 MB / 0.7481 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.003528/0.274, allocations: 1.616 MB / 0.9658 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.274, allocations: 16.02 kB / 0.9658 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.2743, allocations: 135.2 kB / 0.9659 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.2757, allocations: 0.8115 MB / 0.9667 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.2758, allocations: 41.38 kB / 0.9668 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2759, allocations: 68.28 kB / 0.9668 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000883/0.2768, allocations: 0.61 MB / 0.9674 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2768, allocations: 4 kB / 0.9674 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.2768, allocations: 20 kB / 0.9675 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2769, allocations: 12 kB / 0.9675 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.2776, allocations: 0.5582 MB / 0.968 GB, free: 6.352 MB / 0.7481 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.004465/0.2821, allocations: 3.278 MB / 0.9712 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.2834, allocations: 0.8479 MB / 0.972 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.2838, allocations: 359.8 kB / 0.9724 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/0.2839, allocations: 28.28 kB / 0.9724 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.284, allocations: 46.94 kB / 0.9725 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 1.823e-06/0.284, allocations: 3.938 kB / 0.9725 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001739/0.2857, allocations: 1.186 MB / 0.9736 GB, free: 328 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2858, allocations: 55.41 kB / 0.9737 GB, free: 260 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.2875, allocations: 1.227 MB / 0.9749 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.2875, allocations: 41.7 kB / 0.9749 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.2879, allocations: 464.7 kB / 0.9754 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.2881, allocations: 173.5 kB / 0.9755 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.2883, allocations: 210.5 kB / 0.9757 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2885, allocations: 349.9 kB / 0.9761 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007491/0.2892, allocations: 0.6465 MB / 0.9767 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009197/0.2901, allocations: 0.9669 MB / 0.9776 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.2918, allocations: 1.586 MB / 0.9792 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.2918, allocations: 8 kB / 0.9792 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002355/0.2941, allocations: 1.787 MB / 0.9809 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.2942, allocations: 8 kB / 0.9809 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.2942, allocations: 15.98 kB / 0.981 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.2944, allocations: 40.84 kB / 0.981 GB, free: 8.414 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.2956, allocations: 271.6 kB / 0.9813 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.2993, allocations: 6.836 MB / 0.9879 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3005, allocations: 130.6 kB / 0.9881 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3006, allocations: 44.19 kB / 0.9881 GB, free: 0.8164 MB / 0.7637 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.0004685/0.3011, allocations: 309.4 kB / 0.9884 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.3014, allocations: 110.5 kB / 0.9885 GB, free: 404 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.3026, allocations: 0.8387 MB / 0.9893 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3026, allocations: 4 kB / 0.9893 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3026, allocations: 4 kB / 0.9893 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3026, allocations: 7.984 kB / 0.9893 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3037, allocations: 0.9113 MB / 0.9902 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3037, allocations: 0 / 0.9902 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.3042, allocations: 111.9 kB / 0.9903 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.3044, allocations: 32.77 kB / 0.9904 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.3044, allocations: 23.98 kB / 0.9904 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009514/0.3054, allocations: 1.437 MB / 0.9918 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3054, allocations: 3.938 kB / 0.9918 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.307, allocations: 1.362 MB / 0.9931 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.3074, allocations: 267.4 kB / 0.9934 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.3076, allocations: 19.92 kB / 0.9934 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.3082, allocations: 27.97 kB / 0.9934 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.3083, allocations: 27.95 kB / 0.9934 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.3083, allocations: 16 kB / 0.9935 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001127/0.3095, allocations: 0.8115 MB / 0.9943 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3095, allocations: 0 / 0.9943 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001044/0.3105, allocations: 379.6 kB / 0.9946 GB, free: 9.883 MB / 0.7794 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.0005715/0.3111, allocations: 280.4 kB / 0.9949 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.3137, allocations: 1.601 MB / 0.9964 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3137, allocations: 4 kB / 0.9965 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.3143, allocations: 474.4 kB / 0.9969 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.3156, allocations: 224.6 kB / 0.9971 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.3194, allocations: 2.928 MB / 1 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.3201, allocations: 1.098 MB / 1.001 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.3204, allocations: 67.44 kB / 1.001 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of SimCode: time 9.21e-07/0.3204, allocations: 3.938 kB / 1.001 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of Templates: time 0.03394/0.3543, allocations: 30.71 MB / 1.031 GB, free: 4.449 MB / 0.8106 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