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.001381/0.001381, allocations: 80.69 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001478/0.001478, allocations: 169.1 kB / 22.46 MB, free: 5.371 MB / 14.72 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.523/1.523, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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 2.917/2.917, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 1.744e-06/1.744e-06, allocations: 3.938 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.859e-05, allocations: 2.281 kB / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.008407/0.008435, allocations: 3.977 MB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00758/0.01602, allocations: 2.855 MB / 1.007 GB, free: 472 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005979/0.01661, allocations: 35.69 kB / 1.007 GB, free: 436 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.01802, allocations: 349.6 kB / 1.007 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.02033, allocations: 0.713 MB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.02272, allocations: 0.6681 MB / 1.008 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.02596, allocations: 1.944 MB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.02632, allocations: 118.4 kB / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.02803, allocations: 0.8146 MB / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.02947, allocations: 0.6233 MB / 1.012 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.0297, allocations: 80 kB / 1.012 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.03081, allocations: 415.3 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008373/0.03164, allocations: 0.4948 MB / 1.013 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.03241, allocations: 419 kB / 1.013 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.035, allocations: 1.511 MB / 1.015 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.035, allocations: 3.938 kB / 1.015 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.035, allocations: 0 / 1.015 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.03502, allocations: 0 / 1.015 GB, free: 8.27 MB / 0.9669 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.004926/0.03994, allocations: 1.586 MB / 1.016 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.04, allocations: 15.98 kB / 1.016 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006973/0.0407, allocations: 152 kB / 1.016 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.04286, allocations: 0.7773 MB / 1.017 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.04291, allocations: 45.38 kB / 1.017 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.04305, allocations: 64.33 kB / 1.017 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/0.04402, allocations: 0.6143 MB / 1.018 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.04403, allocations: 192 / 1.018 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.04408, allocations: 24.06 kB / 1.018 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.04409, allocations: 12 kB / 1.018 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008563/0.04495, allocations: 0.566 MB / 1.018 GB, free: 4.324 MB / 0.9669 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.004267/0.04922, allocations: 2.231 MB / 1.021 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.05077, allocations: 0.8032 MB / 1.021 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.05126, allocations: 345.4 kB / 1.022 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.171e-05/0.05133, allocations: 20.36 kB / 1.022 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.05137, allocations: 42.88 kB / 1.022 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.05137, allocations: 4 kB / 1.022 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.001898/0.05327, allocations: 1.109 MB / 1.023 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.05332, allocations: 55.41 kB / 1.023 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.05509, allocations: 1.247 MB / 1.024 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.05516, allocations: 41.7 kB / 1.024 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.05558, allocations: 465.3 kB / 1.025 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.05576, allocations: 178.4 kB / 1.025 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.05605, allocations: 218.5 kB / 1.025 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.05622, allocations: 345.9 kB / 1.025 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008761/0.0571, allocations: 0.6464 MB / 1.026 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.05826, allocations: 0.971 MB / 1.027 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.0603, allocations: 1.588 MB / 1.029 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.06031, allocations: 4 kB / 1.029 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002657/0.06297, allocations: 1.791 MB / 1.03 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.06299, allocations: 8 kB / 1.03 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/0.06303, allocations: 12 kB / 1.03 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.06326, allocations: 44.83 kB / 1.03 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.06449, allocations: 271.9 kB / 1.031 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.06925, allocations: 6.717 MB / 1.037 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.07031, allocations: 135 kB / 1.037 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.07039, allocations: 36 kB / 1.037 GB, free: 320 kB / 0.9825 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.000441/0.07083, allocations: 302 kB / 1.038 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.07105, allocations: 123.6 kB / 1.038 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.07247, allocations: 0.8453 MB / 1.039 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.07248, allocations: 7.75 kB / 1.039 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.07248, allocations: 0 / 1.039 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.07249, allocations: 3.984 kB / 1.039 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.07352, allocations: 0.6756 MB / 1.039 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.07352, allocations: 0 / 1.039 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.07409, allocations: 115.8 kB / 1.039 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.07423, allocations: 28.84 kB / 1.039 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.07428, allocations: 19.98 kB / 1.039 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.07538, allocations: 1.307 MB / 1.041 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.07539, allocations: 0 / 1.041 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.07723, allocations: 1.382 MB / 1.042 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.07766, allocations: 195 kB / 1.042 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.07781, allocations: 15.98 kB / 1.042 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.0785, allocations: 27.97 kB / 1.042 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.07859, allocations: 31.94 kB / 1.042 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.07862, allocations: 12 kB / 1.042 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001288/0.07991, allocations: 0.8271 MB / 1.043 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.07991, allocations: 0 / 1.043 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001056/0.08096, allocations: 375.5 kB / 1.043 GB, free: 9.863 MB / 0.9981 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.00065/0.08161, allocations: 282.8 kB / 1.044 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.08421, allocations: 1.394 MB / 1.045 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.08421, allocations: 4.062 kB / 1.045 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.08486, allocations: 470.3 kB / 1.046 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.08598, allocations: 224.5 kB / 1.046 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.08974, allocations: 2.27 MB / 1.048 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.09038, allocations: 0.5029 MB / 1.048 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005467/0.09092, allocations: 203.1 kB / 1.049 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.09118, allocations: 68.48 kB / 1.049 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.09118, allocations: 0 / 1.049 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of Templates: time 0.02959/0.1208, allocations: 15.51 MB / 1.064 GB, free: 5.141 MB / 1.014 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.0405947342515]