Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001539/0.001539, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001974/0.001974, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_12_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: 67.45 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005537/0.3389, allocations: 3.967 MB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005068/0.344, allocations: 2.84 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.3444, allocations: 31.75 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009565/0.3454, allocations: 353.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.3469, allocations: 0.7001 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3486, allocations: 0.665 MB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.3511, allocations: 1.909 MB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.3514, allocations: 114.3 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.3524, allocations: 0.6113 MB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.3535, allocations: 0.6732 MB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.3536, allocations: 80 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008968/0.3545, allocations: 403.5 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.3551, allocations: 494.4 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.3556, allocations: 0.4976 MB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.3575, allocations: 1.506 MB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3575, allocations: 0 / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3575, allocations: 0 / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.3575, allocations: 0 / 1.34 GB, free: 3.496 MB / 1.029 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.003434/0.3609, allocations: 1.602 MB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.361, allocations: 8.031 kB / 1.341 GB, free: 1.848 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.3611, allocations: 90.59 kB / 1.341 GB, free: 1.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005037/0.3616, allocations: 152 kB / 1.341 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.3633, allocations: 0.7781 MB / 1.342 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.3633, allocations: 41.38 kB / 1.342 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3635, allocations: 68.33 kB / 1.342 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.3644, allocations: 0.6137 MB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3645, allocations: 0 / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.3645, allocations: 23.94 kB / 1.343 GB, free: 24 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.3645, allocations: 12 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.3653, allocations: 0.5582 MB / 1.343 GB, free: 15.45 MB / 1.045 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.004373/0.3697, allocations: 2.294 MB / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.3711, allocations: 0.8141 MB / 1.346 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.3716, allocations: 347.9 kB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.3717, allocations: 24.36 kB / 1.347 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3717, allocations: 38.94 kB / 1.347 GB, free: 11.87 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.254e-06/0.3717, allocations: 0 / 1.347 GB, free: 11.87 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.001944/0.3737, allocations: 1.111 MB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.3737, allocations: 63.41 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.3756, allocations: 1.239 MB / 1.349 GB, free: 9.422 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.3757, allocations: 41.7 kB / 1.349 GB, free: 9.375 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.3761, allocations: 465.3 kB / 1.35 GB, free: 8.914 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.3764, allocations: 182.4 kB / 1.35 GB, free: 8.734 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.3767, allocations: 214.6 kB / 1.35 GB, free: 8.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.377, allocations: 349.9 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009787/0.378, allocations: 0.6504 MB / 1.351 GB, free: 7.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.3792, allocations: 0.9669 MB / 1.352 GB, free: 6.406 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.3812, allocations: 1.582 MB / 1.353 GB, free: 4.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3812, allocations: 3.938 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002775/0.384, allocations: 1.784 MB / 1.355 GB, free: 2.883 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.384, allocations: 15.98 kB / 1.355 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.3841, allocations: 12 kB / 1.355 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.3843, allocations: 44.78 kB / 1.355 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.3855, allocations: 271.6 kB / 1.356 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.3906, allocations: 6.737 MB / 1.362 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3919, allocations: 135 kB / 1.362 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.392, allocations: 40 kB / 1.362 GB, free: 11.33 MB / 1.061 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.0006207/0.3927, allocations: 310.8 kB / 1.363 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.393, allocations: 119.1 kB / 1.363 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.3944, allocations: 0.8427 MB / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3944, allocations: 12.03 kB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3944, allocations: 0 / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3944, allocations: 7.984 kB / 1.364 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3955, allocations: 0.7389 MB / 1.364 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3955, allocations: 0 / 1.364 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.396, allocations: 115.8 kB / 1.364 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.3961, allocations: 32.83 kB / 1.364 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.3962, allocations: 16 kB / 1.364 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.3973, allocations: 1.33 MB / 1.366 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3973, allocations: 0 / 1.366 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.3992, allocations: 1.366 MB / 1.367 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/0.3998, allocations: 195 kB / 1.367 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.3999, allocations: 16.14 kB / 1.367 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.4005, allocations: 35.95 kB / 1.367 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.4006, allocations: 31.89 kB / 1.367 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4006, allocations: 11.98 kB / 1.367 GB, free: 5.973 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001276/0.4019, allocations: 0.8311 MB / 1.368 GB, free: 5.137 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4019, allocations: 0 / 1.368 GB, free: 5.137 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001087/0.403, allocations: 367.6 kB / 1.368 GB, free: 4.777 MB / 1.061 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.002936/0.4059, allocations: 2.088 MB / 1.371 GB, free: 2.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00275/0.4087, allocations: 1.397 MB / 1.372 GB, free: 1.234 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4087, allocations: 0.75 kB / 1.372 GB, free: 1.234 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.4093, allocations: 462.1 kB / 1.372 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.4106, allocations: 225.7 kB / 1.373 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.4293, allocations: 11.62 MB / 1.384 GB, free: 4.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/0.4301, allocations: 0.499 MB / 1.384 GB, free: 3.988 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.4309, allocations: 199.1 kB / 1.385 GB, free: 3.789 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008859/0.4318, allocations: 399.3 kB / 1.385 GB, free: 3.398 MB / 1.076 GB Notification: Performance of SimCode: time 3.026e-06/0.4318, allocations: 0 / 1.385 GB, free: 3.398 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07156/0.5033, allocations: 26.41 MB / 1.411 GB, free: 9.434 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.68, allocations: 10.12 kB / 1.411 GB, free: 9.43 MB / 1.107 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.59226829605177]