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.001225/0.001225, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001697/0.001697, allocations: 215.2 kB / 22.26 MB, free: 5.078 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.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 3.022/3.022, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 64.52 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2993, allocations: 180.2 MB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005544/0.3049, allocations: 4.416 MB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.3097, allocations: 3.039 MB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.3103, allocations: 35.75 kB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.3113, allocations: 361.7 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.313, allocations: 0.6922 MB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.3146, allocations: 0.6666 MB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002235/0.3168, allocations: 1.917 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.3171, allocations: 126.3 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008213/0.3179, allocations: 0.6074 MB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009924/0.3189, allocations: 0.7162 MB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.319, allocations: 80 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.3197, allocations: 439.4 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.3202, allocations: 490.4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.3207, allocations: 0.6062 MB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.3222, allocations: 1.486 MB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3222, allocations: 0 / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3222, allocations: 0 / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.3223, allocations: 0 / 1.368 GB, free: 8.805 MB / 1.061 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.002971/0.3252, allocations: 1.602 MB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3253, allocations: 16.03 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.356e-05/0.3254, allocations: 82.64 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.3257, allocations: 160 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.3271, allocations: 0.7703 MB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.3271, allocations: 45.38 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.249e-05/0.3272, allocations: 64.33 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.328, allocations: 0.6215 MB / 1.371 GB, free: 5.348 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3281, allocations: 0 / 1.371 GB, free: 5.348 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.3281, allocations: 16 kB / 1.371 GB, free: 5.332 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3281, allocations: 12 kB / 1.371 GB, free: 5.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.3289, allocations: 0.5543 MB / 1.372 GB, free: 4.766 MB / 1.061 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.004389/0.3332, allocations: 3.256 MB / 1.375 GB, free: 1.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.3346, allocations: 0.8176 MB / 1.376 GB, free: 456 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.335, allocations: 353.1 kB / 1.376 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.531e-05/0.3351, allocations: 20.36 kB / 1.376 GB, free: 80 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.3351, allocations: 42.94 kB / 1.376 GB, free: 28 kB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 1.764e-06/0.3351, allocations: 0 / 1.376 GB, free: 28 kB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001734/0.3368, allocations: 1.108 MB / 1.377 GB, free: 14.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3369, allocations: 55.41 kB / 1.377 GB, free: 14.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.3385, allocations: 1.247 MB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.3385, allocations: 41.7 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.3389, allocations: 469.3 kB / 1.379 GB, free: 13.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.3391, allocations: 186.4 kB / 1.379 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.3394, allocations: 202.6 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3395, allocations: 357.9 kB / 1.38 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007842/0.3403, allocations: 0.6426 MB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.3414, allocations: 0.9747 MB / 1.381 GB, free: 10.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.3431, allocations: 1.578 MB / 1.383 GB, free: 8.844 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3431, allocations: 4 kB / 1.383 GB, free: 8.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00236/0.3455, allocations: 1.787 MB / 1.385 GB, free: 7.043 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3455, allocations: 8 kB / 1.385 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.3455, allocations: 12 kB / 1.385 GB, free: 7.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.3457, allocations: 52.77 kB / 1.385 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.3468, allocations: 264 kB / 1.385 GB, free: 6.711 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/0.3511, allocations: 6.74 MB / 1.392 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.3521, allocations: 135 kB / 1.392 GB, free: 15.54 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.3522, allocations: 40 kB / 1.392 GB, free: 15.5 MB / 1.092 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.0004384/0.3526, allocations: 309.6 kB / 1.392 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.3528, allocations: 119.1 kB / 1.392 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.354, allocations: 0.8347 MB / 1.393 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.354, allocations: 7.938 kB / 1.393 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3541, allocations: 0 / 1.393 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3541, allocations: 3.984 kB / 1.393 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3551, allocations: 0.8908 MB / 1.394 GB, free: 13.28 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3551, allocations: 4 kB / 1.394 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.3556, allocations: 111.9 kB / 1.394 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.3557, allocations: 36.83 kB / 1.394 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.3558, allocations: 11.94 kB / 1.394 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3568, allocations: 1.341 MB / 1.395 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3568, allocations: 0 / 1.395 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.3585, allocations: 1.366 MB / 1.397 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/0.3589, allocations: 198.9 kB / 1.397 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.359, allocations: 11.98 kB / 1.397 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.3596, allocations: 31.97 kB / 1.397 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.3597, allocations: 35.88 kB / 1.397 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.3597, allocations: 12 kB / 1.397 GB, free: 9.984 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001117/0.3608, allocations: 0.835 MB / 1.398 GB, free: 9.145 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.3608, allocations: 0 / 1.398 GB, free: 9.145 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009356/0.3618, allocations: 367.6 kB / 1.398 GB, free: 8.785 MB / 1.092 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.002363/0.3641, allocations: 2.086 MB / 1.4 GB, free: 6.668 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.3664, allocations: 1.397 MB / 1.402 GB, free: 5.242 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3664, allocations: 8.125 kB / 1.402 GB, free: 5.234 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.367, allocations: 466.2 kB / 1.402 GB, free: 4.766 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.368, allocations: 230.5 kB / 1.402 GB, free: 4.547 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.3825, allocations: 11.6 MB / 1.414 GB, free: 8.535 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.3833, allocations: 1.098 MB / 1.415 GB, free: 7.41 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004967/0.3838, allocations: 211.1 kB / 1.415 GB, free: 7.199 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.3843, allocations: 399.3 kB / 1.415 GB, free: 6.809 MB / 1.107 GB Notification: Performance of SimCode: time 7.22e-07/0.3843, allocations: 0 / 1.415 GB, free: 6.809 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0665/0.4508, allocations: 24.89 MB / 1.44 GB, free: 14.23 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.28, allocations: 5.781 kB / 1.44 GB, free: 14.23 MB / 1.139 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/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: 21.64454698911868]