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.001403/0.001403, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001982/0.001982, allocations: 217.1 kB / 23.03 MB, free: 4.953 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.919/2.919, allocations: 476.8 MB / 0.7715 GB, free: 4.055 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="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.001934/0.001934, allocations: 63.3 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006298/0.3365, allocations: 3.962 MB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005467/0.3419, allocations: 2.838 MB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007385/0.3427, allocations: 31.75 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.3438, allocations: 345.8 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.3458, allocations: 0.7079 MB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.3476, allocations: 0.6665 MB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.3503, allocations: 1.912 MB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.3507, allocations: 122.3 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.3519, allocations: 0.6113 MB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.3533, allocations: 0.7123 MB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.3535, allocations: 80 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3545, allocations: 419.5 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006384/0.3552, allocations: 494.4 kB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007962/0.356, allocations: 0.5015 MB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.358, allocations: 1.498 MB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.358, allocations: 4 kB / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.358, allocations: 0 / 1.299 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.006e-05/0.358, allocations: 0 / 1.299 GB, free: 11.77 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.00379/0.3618, allocations: 1.61 MB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3619, allocations: 8.031 kB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.544e-05/0.3619, allocations: 17.19 kB / 1.3 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.362, allocations: 82.7 kB / 1.3 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.3626, allocations: 152 kB / 1.3 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.3641, allocations: 0.7742 MB / 1.301 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.3642, allocations: 45.38 kB / 1.301 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3643, allocations: 68.08 kB / 1.301 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.3653, allocations: 0.6099 MB / 1.302 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3653, allocations: 4 kB / 1.302 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.3653, allocations: 16 kB / 1.302 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3653, allocations: 12 kB / 1.302 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.3662, allocations: 0.5621 MB / 1.302 GB, free: 7.715 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.00422/0.3704, allocations: 2.31 MB / 1.305 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.3718, allocations: 0.8131 MB / 1.305 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.3723, allocations: 343.8 kB / 1.306 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.68e-05/0.3724, allocations: 24.36 kB / 1.306 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3724, allocations: 38.94 kB / 1.306 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.324e-06/0.3724, allocations: 0 / 1.306 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001953/0.3744, allocations: 1.107 MB / 1.307 GB, free: 3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3744, allocations: 55.41 kB / 1.307 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.3762, allocations: 1.243 MB / 1.308 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.3763, allocations: 41.7 kB / 1.308 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.3767, allocations: 465.3 kB / 1.309 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.3769, allocations: 178.5 kB / 1.309 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.3772, allocations: 210.6 kB / 1.309 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3774, allocations: 357.9 kB / 1.309 GB, free: 440 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/0.3783, allocations: 0.6426 MB / 1.31 GB, free: 15.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.3794, allocations: 0.9746 MB / 1.311 GB, free: 14.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.3816, allocations: 1.586 MB / 1.313 GB, free: 12.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.3816, allocations: 4 kB / 1.313 GB, free: 12.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00304/0.3846, allocations: 1.787 MB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.3847, allocations: 12 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/0.3847, allocations: 12 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.3849, allocations: 44.83 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3862, allocations: 267.7 kB / 1.315 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.3911, allocations: 6.729 MB / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.3925, allocations: 139 kB / 1.321 GB, free: 3.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.3926, allocations: 47.92 kB / 1.321 GB, free: 3.594 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.0005938/0.3932, allocations: 299.9 kB / 1.322 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/0.3936, allocations: 123.1 kB / 1.322 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.395, allocations: 0.8429 MB / 1.323 GB, free: 2.316 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.395, allocations: 7.984 kB / 1.323 GB, free: 2.309 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.395, allocations: 4 kB / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.395, allocations: 0 / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3962, allocations: 0.7467 MB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3962, allocations: 0 / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.3967, allocations: 107.9 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.3969, allocations: 40.77 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.3969, allocations: 15.98 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3981, allocations: 1.326 MB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3981, allocations: 4.031 kB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4, allocations: 1.378 MB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/0.4006, allocations: 194.9 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.4008, allocations: 12 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/0.4015, allocations: 35.95 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.4016, allocations: 27.94 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.4016, allocations: 12 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001366/0.403, allocations: 0.8311 MB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.403, allocations: 0 / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001223/0.4042, allocations: 363.6 kB / 1.328 GB, free: 13.04 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.002718/0.4069, allocations: 2.094 MB / 1.33 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002695/0.4096, allocations: 1.398 MB / 1.331 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4096, allocations: 4.062 kB / 1.331 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.4102, allocations: 462.1 kB / 1.331 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.4115, allocations: 232.4 kB / 1.332 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.4288, allocations: 11.61 MB / 1.343 GB, free: 12.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.4295, allocations: 0.4989 MB / 1.343 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007125/0.4303, allocations: 207.1 kB / 1.344 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.4309, allocations: 395.3 kB / 1.344 GB, free: 11.64 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/0.4309, allocations: 0 / 1.344 GB, free: 11.64 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/0.4966, allocations: 26.03 MB / 1.369 GB, free: 2.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/16.62, allocations: 10.28 kB / 1.369 GB, free: 2.137 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: 23.8149927619379]