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.001152/0.001152, allocations: 106.9 kB / 16.27 MB, free: 6.109 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.001232/0.001232, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.193/2.193, allocations: 390.3 MB / 0.6653 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.69 kB / 0.8132 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2592, allocations: 140.4 MB / 0.9502 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006302/0.2656, allocations: 4.367 MB / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.2713, allocations: 2.938 MB / 0.9574 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.2721, allocations: 19.88 kB / 0.9574 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.2734, allocations: 381.6 kB / 0.9578 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.2752, allocations: 0.6337 MB / 0.9584 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.277, allocations: 0.6275 MB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.2794, allocations: 1.886 MB / 0.9608 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2798, allocations: 177.8 kB / 0.961 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.2809, allocations: 0.5801 MB / 0.9616 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.2821, allocations: 0.681 MB / 0.9622 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.2823, allocations: 76 kB / 0.9623 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009076/0.2833, allocations: 411.4 kB / 0.9627 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005461/0.2838, allocations: 446.7 kB / 0.9631 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000874/0.2847, allocations: 0.6023 MB / 0.9637 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.2865, allocations: 1.452 MB / 0.9651 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2865, allocations: 7.938 kB / 0.9651 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2865, allocations: 0 / 0.9651 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.2866, allocations: 3.938 kB / 0.9651 GB, free: 9.535 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.002863/0.2894, allocations: 1.612 MB / 0.9667 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2895, allocations: 12.03 kB / 0.9667 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.2897, allocations: 135.2 kB / 0.9669 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.2909, allocations: 0.8115 MB / 0.9676 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.2909, allocations: 45.38 kB / 0.9677 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.291, allocations: 64.28 kB / 0.9678 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.2919, allocations: 0.614 MB / 0.9684 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2919, allocations: 0 / 0.9684 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.2919, allocations: 16 kB / 0.9684 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2919, allocations: 15.94 kB / 0.9684 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007174/0.2927, allocations: 0.5621 MB / 0.9689 GB, free: 5.523 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.004325/0.297, allocations: 3.286 MB / 0.9721 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.2983, allocations: 0.8362 MB / 0.973 GB, free: 1.148 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.2988, allocations: 365.4 kB / 0.9733 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/0.2989, allocations: 24.3 kB / 0.9733 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.2989, allocations: 50.88 kB / 0.9734 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.2989, allocations: 0 / 0.9734 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001827/0.3007, allocations: 1.179 MB / 0.9745 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3008, allocations: 59.34 kB / 0.9746 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.3026, allocations: 1.224 MB / 0.9758 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.3027, allocations: 45.7 kB / 0.9758 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.3031, allocations: 468.7 kB / 0.9763 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.3033, allocations: 169.5 kB / 0.9764 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.3035, allocations: 214.5 kB / 0.9766 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3037, allocations: 349.9 kB / 0.977 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000774/0.3045, allocations: 0.6425 MB / 0.9776 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3055, allocations: 0.9747 MB / 0.9786 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.3073, allocations: 1.586 MB / 0.9801 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.3073, allocations: 8 kB / 0.9801 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002481/0.3098, allocations: 1.779 MB / 0.9818 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3098, allocations: 8 kB / 0.9819 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.311e-05/0.3099, allocations: 19.94 kB / 0.9819 GB, free: 7.633 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.3101, allocations: 44.83 kB / 0.9819 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.3113, allocations: 267.8 kB / 0.9822 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.3156, allocations: 6.836 MB / 0.9888 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.3168, allocations: 126.6 kB / 0.989 GB, free: 40 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.317, allocations: 44.03 kB / 0.989 GB, free: 15.99 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.0005612/0.3176, allocations: 304.7 kB / 0.9893 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.3179, allocations: 110.5 kB / 0.9894 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.3193, allocations: 0.8467 MB / 0.9902 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3193, allocations: 4 kB / 0.9902 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3193, allocations: 0 / 0.9902 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3194, allocations: 4 kB / 0.9902 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.3207, allocations: 0.9152 MB / 0.9911 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3207, allocations: 0 / 0.9911 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.3213, allocations: 111.8 kB / 0.9912 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.3214, allocations: 28.84 kB / 0.9913 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.3215, allocations: 19.98 kB / 0.9913 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.3226, allocations: 1.449 MB / 0.9927 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3226, allocations: 4.031 kB / 0.9927 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.3243, allocations: 1.365 MB / 0.994 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.3248, allocations: 271.4 kB / 0.9943 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.325, allocations: 15.92 kB / 0.9943 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/0.3257, allocations: 32.03 kB / 0.9943 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.3258, allocations: 27.95 kB / 0.9944 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3258, allocations: 8 kB / 0.9944 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001297/0.3271, allocations: 0.8194 MB / 0.9952 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3272, allocations: 0 / 0.9952 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00109/0.3283, allocations: 367.7 kB / 0.9955 GB, free: 9.062 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.0005957/0.3289, allocations: 273.2 kB / 0.9958 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.3316, allocations: 1.6 MB / 0.9974 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/0.3316, allocations: 0.625 kB / 0.9974 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.3322, allocations: 486.3 kB / 0.9978 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.3336, allocations: 218.7 kB / 0.998 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.3376, allocations: 2.618 MB / 1.001 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.3384, allocations: 1.102 MB / 1.002 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.3387, allocations: 63.44 kB / 1.002 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/0.3387, allocations: 0 / 1.002 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of Templates: time 0.03717/0.3759, allocations: 30.71 MB / 1.032 GB, free: 3.949 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