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.001226/0.001226, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001378/0.001378, allocations: 217 kB / 23.04 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.432/3.432, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_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.001982/0.001982, allocations: 68.3 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.382, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006283/0.3883, allocations: 4.42 MB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005988/0.3943, allocations: 3.035 MB / 1.353 GB, free: 8.996 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.3951, allocations: 27.75 kB / 1.353 GB, free: 8.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.3963, allocations: 365.8 kB / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.398, allocations: 0.7017 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3997, allocations: 0.6627 MB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002592/0.4023, allocations: 1.912 MB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.4026, allocations: 126.3 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.4037, allocations: 0.6113 MB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.4048, allocations: 0.7162 MB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.4049, allocations: 76 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008951/0.4058, allocations: 443.4 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005472/0.4064, allocations: 494.4 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.407, allocations: 0.6062 MB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.4088, allocations: 1.49 MB / 1.361 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4088, allocations: 4 kB / 1.361 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4088, allocations: 0 / 1.361 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.332e-05/0.4088, allocations: 0 / 1.361 GB, free: 0.7539 MB / 1.045 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.003335/0.4122, allocations: 1.602 MB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4122, allocations: 8.031 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.05e-05/0.4122, allocations: 21.19 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.396e-05/0.4123, allocations: 82.72 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.4128, allocations: 152 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.4142, allocations: 0.7742 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.4143, allocations: 45.38 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.4144, allocations: 72.06 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.4153, allocations: 0.6177 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4153, allocations: 0 / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.4154, allocations: 16 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.4154, allocations: 12 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.4162, allocations: 0.5582 MB / 1.364 GB, free: 12.7 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.004878/0.4211, allocations: 3.26 MB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.4225, allocations: 0.8142 MB / 1.368 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.4229, allocations: 341.2 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-05/0.423, allocations: 24.36 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4231, allocations: 42.94 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.4231, allocations: 0 / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001925/0.425, allocations: 1.104 MB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.425, allocations: 63.41 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.4268, allocations: 1.239 MB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.4268, allocations: 45.7 kB / 1.371 GB, free: 5.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.4273, allocations: 461.3 kB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.4275, allocations: 186.4 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.4277, allocations: 210.6 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4279, allocations: 353.9 kB / 1.372 GB, free: 4.277 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.4287, allocations: 0.6426 MB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.4298, allocations: 0.9708 MB / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.4317, allocations: 1.586 MB / 1.375 GB, free: 0.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4317, allocations: 0 / 1.375 GB, free: 0.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00283/0.4346, allocations: 1.787 MB / 1.377 GB, free: 14.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4346, allocations: 8 kB / 1.377 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.4346, allocations: 12 kB / 1.377 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.4349, allocations: 44.83 kB / 1.377 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.436, allocations: 271.6 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.4408, allocations: 6.744 MB / 1.384 GB, free: 7.613 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.4421, allocations: 131 kB / 1.384 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.4421, allocations: 40 kB / 1.384 GB, free: 7.445 MB / 1.076 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.0005254/0.4427, allocations: 305.6 kB / 1.385 GB, free: 7.137 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.4429, allocations: 119.1 kB / 1.385 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.4442, allocations: 0.8386 MB / 1.386 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.4442, allocations: 4 kB / 1.386 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.4442, allocations: 11.98 kB / 1.386 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4442, allocations: 3.938 kB / 1.386 GB, free: 6.148 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4454, allocations: 0.8869 MB / 1.386 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4454, allocations: 4 kB / 1.386 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.4459, allocations: 115.8 kB / 1.387 GB, free: 5.105 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.446, allocations: 32.83 kB / 1.387 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.4461, allocations: 15.98 kB / 1.387 GB, free: 5.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.4472, allocations: 1.33 MB / 1.388 GB, free: 3.609 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4472, allocations: 0 / 1.388 GB, free: 3.609 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.449, allocations: 1.37 MB / 1.389 GB, free: 2.223 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.4494, allocations: 198.9 kB / 1.389 GB, free: 2.027 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.4496, allocations: 15.98 kB / 1.389 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/0.4502, allocations: 31.95 kB / 1.389 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.4503, allocations: 27.95 kB / 1.389 GB, free: 1.953 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.4503, allocations: 15.98 kB / 1.389 GB, free: 1.938 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001331/0.4516, allocations: 0.8311 MB / 1.39 GB, free: 1.102 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4516, allocations: 3.938 kB / 1.39 GB, free: 1.098 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001383/0.453, allocations: 367.6 kB / 1.391 GB, free: 0.7383 MB / 1.076 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.00285/0.4559, allocations: 2.092 MB / 1.393 GB, free: 14.61 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.4585, allocations: 1.39 MB / 1.394 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4585, allocations: 192 / 1.394 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.4591, allocations: 470.2 kB / 1.394 GB, free: 12.73 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.4605, allocations: 237.5 kB / 1.395 GB, free: 12.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.4774, allocations: 11.6 MB / 1.406 GB, free: 500 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.4783, allocations: 1.102 MB / 1.407 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006596/0.4789, allocations: 203.1 kB / 1.407 GB, free: 15.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.4795, allocations: 403.3 kB / 1.408 GB, free: 14.76 MB / 1.107 GB Notification: Performance of SimCode: time 1.072e-06/0.4795, allocations: 0 / 1.408 GB, free: 14.76 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/0.5454, allocations: 24.93 MB / 1.432 GB, free: 6.164 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.23, allocations: 15.27 kB / 1.432 GB, free: 6.152 MB / 1.123 GB " [Timeout remaining time 284] (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: 23.591297549020965]