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.00148/0.00148, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001577/0.001577, allocations: 214.8 kB / 22.25 MB, free: 5.129 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.98 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.927/2.927, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_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.002089/0.002089, allocations: 64.64 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.007614/0.3712, allocations: 4.423 MB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005977/0.3772, allocations: 3.041 MB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007666/0.3779, allocations: 27.75 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.3793, allocations: 365.7 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.3812, allocations: 0.7001 MB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.3831, allocations: 0.6704 MB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.3858, allocations: 1.9 MB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.3861, allocations: 126.3 kB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.3874, allocations: 0.6074 MB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.3887, allocations: 0.7239 MB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.389, allocations: 80 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009837/0.39, allocations: 439.4 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.3906, allocations: 486.6 kB / 1.297 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009993/0.3916, allocations: 0.6062 MB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.3938, allocations: 1.486 MB / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3938, allocations: 0 / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3938, allocations: 0 / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.658e-05/0.3939, allocations: 0 / 1.299 GB, free: 12.02 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.003794/0.3977, allocations: 1.615 MB / 1.3 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3977, allocations: 12.03 kB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.3978, allocations: 78.72 kB / 1.3 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/0.3983, allocations: 148 kB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.4001, allocations: 0.7858 MB / 1.301 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.4001, allocations: 49.36 kB / 1.301 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.4003, allocations: 68.33 kB / 1.301 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.4012, allocations: 0.6138 MB / 1.302 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4012, allocations: 0 / 1.302 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.4013, allocations: 19.94 kB / 1.302 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.4013, allocations: 12 kB / 1.302 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008345/0.4021, allocations: 0.5582 MB / 1.302 GB, free: 7.961 MB / 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.005211/0.4073, allocations: 3.252 MB / 1.306 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.4088, allocations: 0.8061 MB / 1.306 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.4093, allocations: 345.4 kB / 1.307 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/0.4093, allocations: 24.34 kB / 1.307 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.4094, allocations: 46.88 kB / 1.307 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 1.934e-06/0.4094, allocations: 0 / 1.307 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001944/0.4113, allocations: 1.107 MB / 1.308 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4114, allocations: 63.34 kB / 1.308 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.4133, allocations: 1.239 MB / 1.309 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.4134, allocations: 41.7 kB / 1.309 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.4138, allocations: 465.3 kB / 1.31 GB, free: 296 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.414, allocations: 186.4 kB / 1.31 GB, free: 108 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.4144, allocations: 214.5 kB / 1.31 GB, free: 15.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4146, allocations: 353.8 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/0.4155, allocations: 0.6465 MB / 1.311 GB, free: 14.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.4167, allocations: 0.9669 MB / 1.312 GB, free: 13.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.4189, allocations: 1.586 MB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.4189, allocations: 0 / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002799/0.4217, allocations: 1.787 MB / 1.315 GB, free: 10.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.4217, allocations: 11.94 kB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.975e-05/0.4217, allocations: 15.98 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002584/0.422, allocations: 44.84 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4232, allocations: 267.9 kB / 1.316 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/0.4281, allocations: 6.733 MB / 1.322 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.4294, allocations: 135 kB / 1.322 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4295, allocations: 43.98 kB / 1.322 GB, free: 2.715 MB / 1.014 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.0005955/0.4301, allocations: 301.7 kB / 1.323 GB, free: 2.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.4305, allocations: 119.1 kB / 1.323 GB, free: 2.293 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.4319, allocations: 0.8427 MB / 1.324 GB, free: 1.434 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4319, allocations: 4 kB / 1.324 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4319, allocations: 4 kB / 1.324 GB, free: 1.426 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4319, allocations: 0 / 1.324 GB, free: 1.426 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.4333, allocations: 0.8909 MB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4333, allocations: 8 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.4338, allocations: 107.9 kB / 1.325 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.4339, allocations: 32.83 kB / 1.325 GB, free: 356 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.434, allocations: 15.98 kB / 1.325 GB, free: 340 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.4352, allocations: 1.334 MB / 1.326 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4352, allocations: 0 / 1.326 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.4372, allocations: 1.378 MB / 1.327 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.4378, allocations: 191 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.4381, allocations: 15.98 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.4387, allocations: 31.95 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.4388, allocations: 31.94 kB / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.4388, allocations: 15.98 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001318/0.4402, allocations: 0.8272 MB / 1.328 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4402, allocations: 0 / 1.328 GB, free: 12.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001237/0.4414, allocations: 367.6 kB / 1.329 GB, free: 12.01 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.002891/0.4443, allocations: 2.1 MB / 1.331 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.4469, allocations: 1.39 MB / 1.332 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.447, allocations: 4.125 kB / 1.332 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.4476, allocations: 462.1 kB / 1.333 GB, free: 7.992 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.4488, allocations: 237.7 kB / 1.333 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.4666, allocations: 11.61 MB / 1.344 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/0.4675, allocations: 1.09 MB / 1.345 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006499/0.4681, allocations: 203.1 kB / 1.345 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/0.4687, allocations: 403.3 kB / 1.346 GB, free: 10.03 MB / 1.045 GB Notification: Performance of SimCode: time 1.302e-06/0.4687, allocations: 0 / 1.346 GB, free: 10.03 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07503/0.5438, allocations: 24.9 MB / 1.37 GB, free: 1.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.01, allocations: 3.156 kB / 1.37 GB, free: 1.453 MB / 1.061 GB " [Timeout remaining time 283] (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: 22.985433124937117]