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.001452/0.001452, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001595/0.001595, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.2 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2681, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005139/0.2732, allocations: 4.36 MB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004413/0.2777, allocations: 2.952 MB / 0.9582 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.278, allocations: 23.81 kB / 0.9583 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.2789, allocations: 361.6 kB / 0.9586 GB, free: 348 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.28, allocations: 0.6532 MB / 0.9592 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2814, allocations: 0.6236 MB / 0.9599 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.2831, allocations: 1.874 MB / 0.9617 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.2834, allocations: 185.9 kB / 0.9619 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.284, allocations: 0.5878 MB / 0.9624 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007544/0.2847, allocations: 0.6577 MB / 0.9631 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.2849, allocations: 76 kB / 0.9631 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.2855, allocations: 411.4 kB / 0.9635 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004325/0.2859, allocations: 466.6 kB / 0.964 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.2864, allocations: 0.5945 MB / 0.9646 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.2877, allocations: 1.472 MB / 0.966 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2877, allocations: 0 / 0.966 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2877, allocations: 0 / 0.966 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.2877, allocations: 0 / 0.966 GB, free: 8.723 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.002655/0.2904, allocations: 1.62 MB / 0.9676 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2904, allocations: 12.03 kB / 0.9676 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.2906, allocations: 135.2 kB / 0.9677 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.292, allocations: 0.835 MB / 0.9685 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.292, allocations: 45.38 kB / 0.9686 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2921, allocations: 64.28 kB / 0.9686 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.293, allocations: 0.6178 MB / 0.9692 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.293, allocations: 0 / 0.9692 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.293, allocations: 16 kB / 0.9693 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.2931, allocations: 11.94 kB / 0.9693 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.2938, allocations: 0.5621 MB / 0.9698 GB, free: 4.68 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.004274/0.2981, allocations: 3.278 MB / 0.973 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.2995, allocations: 0.8401 MB / 0.9738 GB, free: 312 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.2999, allocations: 371.6 kB / 0.9742 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.396e-05/0.3, allocations: 28.28 kB / 0.9742 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3001, allocations: 38.94 kB / 0.9743 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.3001, allocations: 0 / 0.9743 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.001709/0.3018, allocations: 1.178 MB / 0.9754 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3018, allocations: 59.41 kB / 0.9755 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.3034, allocations: 1.227 MB / 0.9767 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.3035, allocations: 41.7 kB / 0.9767 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.3039, allocations: 460.7 kB / 0.9771 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.304, allocations: 173.5 kB / 0.9773 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.3043, allocations: 214.5 kB / 0.9775 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3044, allocations: 345.9 kB / 0.9778 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.3052, allocations: 0.6465 MB / 0.9785 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009832/0.3062, allocations: 0.9708 MB / 0.9794 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.3079, allocations: 1.59 MB / 0.981 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3079, allocations: 4 kB / 0.981 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002331/0.3103, allocations: 1.779 MB / 0.9827 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3103, allocations: 8 kB / 0.9827 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.3103, allocations: 19.98 kB / 0.9827 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.3106, allocations: 45.41 kB / 0.9828 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.3117, allocations: 267.6 kB / 0.983 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/0.3155, allocations: 6.832 MB / 0.9897 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3166, allocations: 130.9 kB / 0.9898 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.3167, allocations: 44 kB / 0.9899 GB, free: 15.16 MB / 0.7794 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.0004223/0.3171, allocations: 307.3 kB / 0.9902 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3173, allocations: 114.5 kB / 0.9903 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.3184, allocations: 0.8502 MB / 0.9911 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3185, allocations: 4 kB / 0.9911 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3185, allocations: 4 kB / 0.9911 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3185, allocations: 3.984 kB / 0.9911 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3195, allocations: 0.9152 MB / 0.992 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3195, allocations: 3.938 kB / 0.992 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.3201, allocations: 107.9 kB / 0.9921 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.3202, allocations: 32.83 kB / 0.9922 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.3203, allocations: 19.98 kB / 0.9922 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.3213, allocations: 1.437 MB / 0.9936 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3213, allocations: 4.031 kB / 0.9936 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.3229, allocations: 1.354 MB / 0.9949 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.3233, allocations: 279.3 kB / 0.9952 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3234, allocations: 11.94 kB / 0.9952 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.324, allocations: 32.03 kB / 0.9952 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.3241, allocations: 27.95 kB / 0.9952 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.3241, allocations: 8 kB / 0.9953 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00109/0.3252, allocations: 0.8232 MB / 0.9961 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3252, allocations: 0 / 0.9961 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001062/0.3263, allocations: 359.7 kB / 0.9964 GB, free: 8.23 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.0005933/0.3269, allocations: 279 kB / 0.9967 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.3292, allocations: 1.503 MB / 0.9981 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3293, allocations: 3.938 kB / 0.9981 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005442/0.3298, allocations: 482.8 kB / 0.9986 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3308, allocations: 224.7 kB / 0.9988 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.3344, allocations: 2.507 MB / 1.001 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008856/0.3353, allocations: 1.102 MB / 1.002 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000526/0.3358, allocations: 207.1 kB / 1.003 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.336, allocations: 63.44 kB / 1.003 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of SimCode: time 7.81e-07/0.336, allocations: 0 / 1.003 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.02537/0.3614, allocations: 14.53 MB / 1.017 GB, free: 3.41 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 -s gbode -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