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.0015/0.0015, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001635/0.001636, allocations: 191 kB / 17.29 MB, free: 5.516 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 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.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.95 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2447, allocations: 140.4 MB / 0.9511 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005371/0.2502, allocations: 4.352 MB / 0.9554 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004578/0.2548, allocations: 2.938 MB / 0.9582 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.2553, allocations: 19.88 kB / 0.9582 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009469/0.2562, allocations: 373.6 kB / 0.9586 GB, free: 400 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.2575, allocations: 0.6493 MB / 0.9592 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.259, allocations: 0.6308 MB / 0.9598 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.2609, allocations: 1.874 MB / 0.9617 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.2612, allocations: 181.9 kB / 0.9619 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.2619, allocations: 0.5918 MB / 0.9624 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007993/0.2627, allocations: 0.6538 MB / 0.9631 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.2628, allocations: 76 kB / 0.9631 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006418/0.2635, allocations: 411.4 kB / 0.9635 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.2639, allocations: 470.5 kB / 0.964 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.2645, allocations: 0.6023 MB / 0.9646 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2658, allocations: 1.464 MB / 0.966 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2658, allocations: 0 / 0.966 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2658, allocations: 3.938 kB / 0.966 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.2659, allocations: 0 / 0.966 GB, free: 8.77 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.002869/0.2687, allocations: 1.616 MB / 0.9676 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2688, allocations: 12.03 kB / 0.9676 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.269, allocations: 135.2 kB / 0.9677 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.2703, allocations: 0.8388 MB / 0.9685 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.2704, allocations: 45.38 kB / 0.9686 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.2705, allocations: 68.28 kB / 0.9687 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.2713, allocations: 0.614 MB / 0.9692 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2713, allocations: 0 / 0.9692 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.2714, allocations: 16 kB / 0.9693 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2714, allocations: 8 kB / 0.9693 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.2721, allocations: 0.566 MB / 0.9698 GB, free: 4.727 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.004219/0.2764, allocations: 3.27 MB / 0.973 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.2778, allocations: 0.8517 MB / 0.9739 GB, free: 356 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.2782, allocations: 369.2 kB / 0.9742 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.813e-05/0.2783, allocations: 24.3 kB / 0.9742 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2783, allocations: 38.88 kB / 0.9743 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 1.873e-06/0.2783, allocations: 0 / 0.9743 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.001779/0.2801, allocations: 1.174 MB / 0.9754 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.2802, allocations: 63.39 kB / 0.9755 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.2818, allocations: 1.224 MB / 0.9767 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.2818, allocations: 41.7 kB / 0.9767 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.2822, allocations: 468.7 kB / 0.9772 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.2824, allocations: 169.5 kB / 0.9773 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.2826, allocations: 210.5 kB / 0.9775 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2828, allocations: 353.9 kB / 0.9779 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.2836, allocations: 0.6464 MB / 0.9785 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009799/0.2846, allocations: 0.9669 MB / 0.9794 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.2863, allocations: 1.594 MB / 0.981 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2863, allocations: 4 kB / 0.981 GB, free: 8.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002426/0.2887, allocations: 1.779 MB / 0.9827 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.2888, allocations: 8 kB / 0.9827 GB, free: 6.859 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.2888, allocations: 12 kB / 0.9827 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.289, allocations: 53.45 kB / 0.9828 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.2902, allocations: 267.6 kB / 0.9831 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.2943, allocations: 6.824 MB / 0.9897 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.2954, allocations: 138.8 kB / 0.9898 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.2955, allocations: 39.94 kB / 0.9899 GB, free: 15.21 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.000459/0.296, allocations: 304.9 kB / 0.9902 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.2961, allocations: 114.5 kB / 0.9903 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.2974, allocations: 0.8502 MB / 0.9911 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2974, allocations: 4 kB / 0.9911 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2974, allocations: 4 kB / 0.9911 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.2974, allocations: 3.984 kB / 0.9911 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.2985, allocations: 0.9152 MB / 0.992 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2985, allocations: 0 / 0.992 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.299, allocations: 107.9 kB / 0.9921 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.2992, allocations: 36.77 kB / 0.9922 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.2992, allocations: 19.98 kB / 0.9922 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.3003, allocations: 1.445 MB / 0.9936 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3003, allocations: 0 / 0.9936 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.302, allocations: 1.358 MB / 0.9949 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.3025, allocations: 267.4 kB / 0.9952 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.3026, allocations: 19.92 kB / 0.9952 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.3032, allocations: 32.03 kB / 0.9952 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.3033, allocations: 23.97 kB / 0.9952 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3033, allocations: 11.98 kB / 0.9953 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001086/0.3044, allocations: 0.8194 MB / 0.9961 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3044, allocations: 0 / 0.9961 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001011/0.3054, allocations: 363.7 kB / 0.9964 GB, free: 8.277 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.0005298/0.3059, allocations: 277.2 kB / 0.9967 GB, free: 8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002425/0.3084, allocations: 1.507 MB / 0.9981 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3084, allocations: 0 / 0.9981 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.309, allocations: 487 kB / 0.9986 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.31, allocations: 222.3 kB / 0.9988 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.3138, allocations: 2.508 MB / 1.001 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/0.3145, allocations: 1.098 MB / 1.002 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005446/0.315, allocations: 211.1 kB / 1.003 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.3153, allocations: 67.36 kB / 1.003 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of SimCode: time 8.11e-07/0.3153, allocations: 4 kB / 1.003 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.02481/0.3401, allocations: 14.53 MB / 1.017 GB, free: 3.449 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 cvode -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