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: 111.3 kB / 15.23 MB, free: 0.6406 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.001244/0.001244, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.426/2.426, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.8118 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6772, allocations: 140.4 MB / 0.9489 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004878/0.6822, allocations: 4.375 MB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.6868, allocations: 2.983 MB / 0.9561 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.6877, allocations: 19.28 kB / 0.9561 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009898/0.6888, allocations: 318.1 kB / 0.9564 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.6899, allocations: 0.6004 MB / 0.957 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.6911, allocations: 0.5458 MB / 0.9575 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001943/0.6931, allocations: 2.196 MB / 0.9597 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.6934, allocations: 165.6 kB / 0.9598 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007455/0.6941, allocations: 0.5129 MB / 0.9603 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.6949, allocations: 0.6917 MB / 0.961 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.6951, allocations: 47.06 kB / 0.961 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006713/0.6958, allocations: 395.9 kB / 0.9614 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.6962, allocations: 428.1 kB / 0.9618 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005825/0.6968, allocations: 0.567 MB / 0.9624 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6983, allocations: 1.428 MB / 0.9638 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6983, allocations: 0 / 0.9638 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6983, allocations: 4.781 kB / 0.9638 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.6984, allocations: 4 kB / 0.9638 GB, free: 14.45 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.002998/0.7014, allocations: 1.614 MB / 0.9654 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.7014, allocations: 9.375 kB / 0.9654 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.7016, allocations: 135.2 kB / 0.9655 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.7029, allocations: 0.8106 MB / 0.9663 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.7029, allocations: 45.12 kB / 0.9663 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.703, allocations: 68.81 kB / 0.9664 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/0.7039, allocations: 0.6175 MB / 0.967 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.704, allocations: 0 / 0.967 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.704, allocations: 19.75 kB / 0.967 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.704, allocations: 10.81 kB / 0.967 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.7048, allocations: 0.5568 MB / 0.9676 GB, free: 11.95 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.004425/0.7092, allocations: 3.281 MB / 0.9708 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.7107, allocations: 0.8436 MB / 0.9716 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.7111, allocations: 368.7 kB / 0.972 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.47e-05/0.7112, allocations: 32.36 kB / 0.972 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.7113, allocations: 37.19 kB / 0.972 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 4.088e-06/0.7113, allocations: 0 / 0.972 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00186/0.7131, allocations: 1.182 MB / 0.9732 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.7132, allocations: 59.03 kB / 0.9732 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.7148, allocations: 1.232 MB / 0.9744 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.7149, allocations: 41.48 kB / 0.9745 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.7153, allocations: 468.5 kB / 0.9749 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.7154, allocations: 165.5 kB / 0.9751 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.7157, allocations: 218.5 kB / 0.9753 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7159, allocations: 345.9 kB / 0.9756 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.7167, allocations: 0.6465 MB / 0.9763 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009802/0.7176, allocations: 0.9669 MB / 0.9772 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.7193, allocations: 1.59 MB / 0.9788 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.7193, allocations: 4 kB / 0.9788 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002351/0.7217, allocations: 1.779 MB / 0.9805 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.7217, allocations: 12 kB / 0.9805 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.7218, allocations: 16.06 kB / 0.9805 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.722, allocations: 44.83 kB / 0.9806 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.7231, allocations: 267.6 kB / 0.9808 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/0.7272, allocations: 6.729 MB / 0.9874 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.7283, allocations: 142.9 kB / 0.9875 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.7284, allocations: 40 kB / 0.9876 GB, free: 9.352 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.0004144/0.7288, allocations: 301.5 kB / 0.9879 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.729, allocations: 106.6 kB / 0.988 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.7302, allocations: 0.8529 MB / 0.9888 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7302, allocations: 4 kB / 0.9888 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7303, allocations: 0 / 0.9888 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.7303, allocations: 3.984 kB / 0.9888 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.7314, allocations: 0.9113 MB / 0.9897 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.7314, allocations: 0 / 0.9897 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.732, allocations: 107.9 kB / 0.9898 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.7321, allocations: 40.77 kB / 0.9898 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.7322, allocations: 19.98 kB / 0.9898 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009795/0.7332, allocations: 1.334 MB / 0.9911 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7332, allocations: 0 / 0.9911 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.7348, allocations: 1.366 MB / 0.9925 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.7352, allocations: 263.5 kB / 0.9927 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.7354, allocations: 20.08 kB / 0.9928 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.7359, allocations: 31.88 kB / 0.9928 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.736, allocations: 27.95 kB / 0.9928 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.736, allocations: 12 kB / 0.9928 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001094/0.7371, allocations: 0.8194 MB / 0.9936 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7371, allocations: 0 / 0.9936 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001145/0.7383, allocations: 371.5 kB / 0.994 GB, free: 2.535 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.0006167/0.7389, allocations: 271 kB / 0.9942 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002744/0.7417, allocations: 1.507 MB / 0.9957 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7417, allocations: 8 kB / 0.9957 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.7423, allocations: 470.4 kB / 0.9962 GB, free: 260 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.7438, allocations: 218 kB / 0.9964 GB, free: 40 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.7476, allocations: 2.866 MB / 0.9992 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.7482, allocations: 1.098 MB / 1 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006071/0.7489, allocations: 207.1 kB / 1 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.7491, allocations: 63.44 kB / 1 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of SimCode: time 6.21e-07/0.7491, allocations: 0 / 1 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of Templates: time 0.02308/0.7722, allocations: 13.92 MB / 1.014 GB, free: 13.99 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches