Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001931/0.001931, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002288/0.002288, allocations: 218.6 kB / 23.05 MB, free: 5.074 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="cs",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.002021/0.002021, allocations: 67.56 kB / 1.118 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 169.9 MB / 1.284 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006164/0.3668, allocations: 4.433 MB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.3725, allocations: 3.031 MB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.3732, allocations: 27.75 kB / 1.291 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3743, allocations: 357.7 kB / 1.292 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.376, allocations: 0.7078 MB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3777, allocations: 0.6641 MB / 1.293 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.3804, allocations: 1.906 MB / 1.295 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.3808, allocations: 122.3 kB / 1.295 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.382, allocations: 0.623 MB / 1.296 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.3832, allocations: 0.7123 MB / 1.296 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.3834, allocations: 76 kB / 1.296 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009711/0.3843, allocations: 439.4 kB / 1.297 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005919/0.3849, allocations: 490.5 kB / 1.297 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.3857, allocations: 0.6062 MB / 1.298 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.388, allocations: 1.486 MB / 1.299 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.388, allocations: 0 / 1.299 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.059e-06/0.388, allocations: 8 kB / 1.299 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.388, allocations: 0 / 1.299 GB, free: 4.125 MB / 0.9981 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.003681/0.3917, allocations: 1.602 MB / 1.301 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3918, allocations: 8.031 kB / 1.301 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.733e-05/0.3918, allocations: 13.19 kB / 1.301 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.982e-05/0.3919, allocations: 78.72 kB / 1.301 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.3923, allocations: 156 kB / 1.301 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.3939, allocations: 0.7742 MB / 1.302 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.394, allocations: 45.38 kB / 1.302 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3941, allocations: 72.06 kB / 1.302 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/0.395, allocations: 0.6138 MB / 1.303 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.395, allocations: 7.984 kB / 1.303 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.3951, allocations: 16 kB / 1.303 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3951, allocations: 12 kB / 1.303 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.3959, allocations: 0.5582 MB / 1.303 GB, free: 76 kB / 0.9981 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.004873/0.4008, allocations: 3.244 MB / 1.306 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.4022, allocations: 0.8209 MB / 1.307 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.4027, allocations: 352 kB / 1.308 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-05/0.4028, allocations: 24.36 kB / 1.308 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4028, allocations: 38.94 kB / 1.308 GB, free: 11.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 4.308e-06/0.4028, allocations: 3.984 kB / 1.308 GB, free: 11.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.001943/0.4048, allocations: 1.111 MB / 1.309 GB, free: 10.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.4048, allocations: 55.41 kB / 1.309 GB, free: 10.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.4066, allocations: 1.235 MB / 1.31 GB, free: 8.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/0.4067, allocations: 41.7 kB / 1.31 GB, free: 8.863 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.4072, allocations: 473.2 kB / 1.31 GB, free: 8.395 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.4074, allocations: 186.4 kB / 1.311 GB, free: 8.211 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.4077, allocations: 206.6 kB / 1.311 GB, free: 8.004 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4078, allocations: 357.9 kB / 1.311 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008435/0.4087, allocations: 0.6426 MB / 1.312 GB, free: 7.008 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4099, allocations: 0.9708 MB / 1.313 GB, free: 5.891 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.4119, allocations: 1.578 MB / 1.314 GB, free: 4.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4119, allocations: 8 kB / 1.314 GB, free: 4.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00284/0.4147, allocations: 1.791 MB / 1.316 GB, free: 2.363 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.4148, allocations: 8 kB / 1.316 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/0.4148, allocations: 15.98 kB / 1.316 GB, free: 2.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.415, allocations: 40.84 kB / 1.316 GB, free: 2.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4162, allocations: 267.6 kB / 1.316 GB, free: 2.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.4214, allocations: 6.737 MB / 1.323 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.423, allocations: 135 kB / 1.323 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.4231, allocations: 39.98 kB / 1.323 GB, free: 10.82 MB / 1.029 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.0005347/0.4236, allocations: 311.6 kB / 1.323 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.4238, allocations: 119.1 kB / 1.324 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.4251, allocations: 0.8389 MB / 1.324 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4252, allocations: 4 kB / 1.324 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4252, allocations: 0 / 1.324 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4252, allocations: 0 / 1.324 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.4264, allocations: 0.8947 MB / 1.325 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4264, allocations: 4 kB / 1.325 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.427, allocations: 123.7 kB / 1.325 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.4271, allocations: 32.83 kB / 1.325 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.4272, allocations: 15.98 kB / 1.325 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.4283, allocations: 1.334 MB / 1.327 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4283, allocations: 0 / 1.327 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.4301, allocations: 1.37 MB / 1.328 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.4306, allocations: 199 kB / 1.328 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.4308, allocations: 15.98 kB / 1.328 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.4314, allocations: 31.95 kB / 1.328 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.4315, allocations: 23.95 kB / 1.328 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.4315, allocations: 19.98 kB / 1.328 GB, free: 5.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001224/0.4327, allocations: 0.831 MB / 1.329 GB, free: 4.461 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4327, allocations: 0 / 1.329 GB, free: 4.461 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001106/0.4338, allocations: 371.6 kB / 1.329 GB, free: 4.098 MB / 1.029 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.00265/0.4365, allocations: 2.088 MB / 1.332 GB, free: 1.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004141/0.4406, allocations: 1.398 MB / 1.333 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4406, allocations: 0 / 1.333 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.4416, allocations: 474.1 kB / 1.333 GB, free: 80 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.4438, allocations: 227.2 kB / 1.334 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/0.4708, allocations: 11.61 MB / 1.345 GB, free: 3.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.4721, allocations: 1.098 MB / 1.346 GB, free: 2.715 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001078/0.4732, allocations: 207.1 kB / 1.346 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007559/0.4739, allocations: 399.3 kB / 1.347 GB, free: 2.117 MB / 1.045 GB Notification: Performance of SimCode: time 1.894e-06/0.4739, allocations: 0 / 1.347 GB, free: 2.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08888/0.5628, allocations: 24.92 MB / 1.371 GB, free: 9.531 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.2, allocations: 7.469 kB / 1.371 GB, free: 9.527 MB / 1.076 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.13805470103398]