Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 84.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00242/0.00242, allocations: 157.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.699/1.699, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.258/3.258, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.335e-05, allocations: 3.594 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00684/0.006873, allocations: 3.981 MB / 0.8815 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006498/0.01337, allocations: 2.839 MB / 0.8842 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009381/0.01431, allocations: 31.75 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.01572, allocations: 349.6 kB / 0.8846 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.01814, allocations: 0.719 MB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.02013, allocations: 0.6702 MB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.02344, allocations: 1.948 MB / 0.8878 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.02379, allocations: 114.5 kB / 0.888 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.02552, allocations: 0.8146 MB / 0.8888 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.02673, allocations: 0.6234 MB / 0.8894 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.0269, allocations: 80 kB / 0.8894 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.02798, allocations: 407.3 kB / 0.8898 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007061/0.02869, allocations: 0.4986 MB / 0.8903 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006092/0.0293, allocations: 419 kB / 0.8907 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.03176, allocations: 1.519 MB / 0.8922 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.03176, allocations: 0 / 0.8922 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/0.03176, allocations: 0 / 0.8922 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.03179, allocations: 0 / 0.8922 GB, free: 7.504 MB / 0.8542 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.003764/0.03555, allocations: 1.586 MB / 0.8937 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.0356, allocations: 12.03 kB / 0.8938 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.03613, allocations: 184 kB / 0.8939 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.03779, allocations: 0.8047 MB / 0.8947 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.03785, allocations: 45.38 kB / 0.8948 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.03798, allocations: 72.27 kB / 0.8948 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.03908, allocations: 0.6066 MB / 0.8954 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.0391, allocations: 192 / 0.8954 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.03915, allocations: 24.12 kB / 0.8954 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.03916, allocations: 8 kB / 0.8955 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.0401, allocations: 0.5621 MB / 0.896 GB, free: 3.512 MB / 0.8542 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.004801/0.0449, allocations: 2.238 MB / 0.8982 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.04681, allocations: 0.8166 MB / 0.899 GB, free: 408 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.04736, allocations: 345.4 kB / 0.8993 GB, free: 60 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.695e-05/0.04744, allocations: 28.27 kB / 0.8993 GB, free: 32 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.0475, allocations: 42.94 kB / 0.8994 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.0475, allocations: 0 / 0.8994 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002378/0.04988, allocations: 1.131 MB / 0.9005 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.04994, allocations: 55.41 kB / 0.9005 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.05205, allocations: 1.247 MB / 0.9018 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.05213, allocations: 37.7 kB / 0.9018 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005144/0.05264, allocations: 465.4 kB / 0.9022 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.05288, allocations: 190.4 kB / 0.9024 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.05321, allocations: 206.6 kB / 0.9026 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.05344, allocations: 349.9 kB / 0.9029 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009711/0.05441, allocations: 0.6426 MB / 0.9036 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.05577, allocations: 0.9671 MB / 0.9045 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/0.05851, allocations: 1.588 MB / 0.9061 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.05852, allocations: 4 kB / 0.9061 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003153/0.06168, allocations: 1.834 MB / 0.9079 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.06171, allocations: 8 kB / 0.9079 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/0.06174, allocations: 12 kB / 0.9079 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.06214, allocations: 61.12 kB / 0.9079 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.06345, allocations: 271.6 kB / 0.9082 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.0698, allocations: 6.709 MB / 0.9148 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.07119, allocations: 131 kB / 0.9149 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.07127, allocations: 48.45 kB / 0.9149 GB, free: 15.41 MB / 0.8855 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.0005333/0.0718, allocations: 301.4 kB / 0.9152 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.07205, allocations: 131.2 kB / 0.9153 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.07358, allocations: 0.8427 MB / 0.9162 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.0736, allocations: 11.92 kB / 0.9162 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.0736, allocations: 0 / 0.9162 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.07361, allocations: 0 / 0.9162 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.07475, allocations: 0.6833 MB / 0.9168 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.07476, allocations: 3.984 kB / 0.9168 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.07535, allocations: 115.9 kB / 0.917 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.07563, allocations: 40.81 kB / 0.917 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.07567, allocations: 16 kB / 0.917 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.07706, allocations: 1.311 MB / 0.9183 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.07706, allocations: 0 / 0.9183 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.07921, allocations: 1.39 MB / 0.9196 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/0.07998, allocations: 195 kB / 0.9198 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.08012, allocations: 15.98 kB / 0.9198 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.08075, allocations: 32.11 kB / 0.9199 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.08084, allocations: 27.95 kB / 0.9199 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.08088, allocations: 19.98 kB / 0.9199 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001412/0.08229, allocations: 0.8272 MB / 0.9207 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.1e-08/0.08229, allocations: 0 / 0.9207 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001206/0.0835, allocations: 367.6 kB / 0.9211 GB, free: 8.922 MB / 0.8855 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.0006741/0.08417, allocations: 289.3 kB / 0.9214 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0029/0.08707, allocations: 1.388 MB / 0.9227 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.08708, allocations: 0 / 0.9227 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.08779, allocations: 464.1 kB / 0.9232 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.08903, allocations: 246.6 kB / 0.9234 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.09303, allocations: 2.325 MB / 0.9257 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.0937, allocations: 0.5029 MB / 0.9262 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006415/0.09434, allocations: 203.1 kB / 0.9263 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.09459, allocations: 72.48 kB / 0.9264 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of SimCode: time 1.954e-06/0.0946, allocations: 0 / 0.9264 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of Templates: time 0.03201/0.1266, allocations: 15.57 MB / 0.9416 GB, free: 4.078 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.132040370022878]