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.001559/0.001559, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002423/0.002423, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.022/3.022, allocations: 0.49 GB / 0.7916 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] 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.00202/0.00202, allocations: 74.14 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2985, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006001/0.3045, allocations: 4.395 MB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005076/0.3096, allocations: 3.013 MB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.3101, allocations: 31.75 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3112, allocations: 365.7 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3126, allocations: 0.6571 MB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.3142, allocations: 0.6339 MB / 1.33 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002543/0.3167, allocations: 1.89 MB / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.3171, allocations: 125.9 kB / 1.332 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3182, allocations: 0.6035 MB / 1.332 GB, free: 7.531 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.3194, allocations: 0.685 MB / 1.333 GB, free: 6.844 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.3196, allocations: 80 kB / 1.333 GB, free: 6.766 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009107/0.3205, allocations: 427.4 kB / 1.333 GB, free: 6.348 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.3211, allocations: 478.5 kB / 1.334 GB, free: 5.879 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008843/0.322, allocations: 0.6023 MB / 1.334 GB, free: 5.273 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.3239, allocations: 1.494 MB / 1.336 GB, free: 3.773 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3239, allocations: 4 kB / 1.336 GB, free: 3.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3239, allocations: 0 / 1.336 GB, free: 3.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.144e-05/0.324, allocations: 0 / 1.336 GB, free: 3.77 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.003826/0.3278, allocations: 1.675 MB / 1.338 GB, free: 2.039 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3278, allocations: 8.031 kB / 1.338 GB, free: 2.031 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.328, allocations: 86.7 kB / 1.338 GB, free: 1.938 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000563/0.3286, allocations: 144 kB / 1.338 GB, free: 1.797 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.3302, allocations: 0.8553 MB / 1.339 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.3302, allocations: 41.38 kB / 1.339 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.3303, allocations: 68.33 kB / 1.339 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.3313, allocations: 0.6176 MB / 1.339 GB, free: 148 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3313, allocations: 0 / 1.339 GB, free: 148 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.3314, allocations: 19.98 kB / 1.339 GB, free: 128 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3314, allocations: 11.94 kB / 1.339 GB, free: 116 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.3323, allocations: 0.5582 MB / 1.34 GB, free: 15.55 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.004928/0.3372, allocations: 3.29 MB / 1.343 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3386, allocations: 0.8087 MB / 1.344 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.3391, allocations: 356.4 kB / 1.344 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.3392, allocations: 24.34 kB / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.3392, allocations: 42.94 kB / 1.344 GB, free: 10.78 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.384e-06/0.3392, allocations: 0 / 1.344 GB, free: 10.78 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.001988/0.3412, allocations: 1.188 MB / 1.345 GB, free: 9.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3412, allocations: 59.41 kB / 1.345 GB, free: 9.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.3432, allocations: 1.239 MB / 1.347 GB, free: 8.242 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.3433, allocations: 37.7 kB / 1.347 GB, free: 8.199 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.3437, allocations: 473.2 kB / 1.347 GB, free: 7.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.3439, allocations: 178.5 kB / 1.347 GB, free: 7.555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.3441, allocations: 210.5 kB / 1.348 GB, free: 7.344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3443, allocations: 357.9 kB / 1.348 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/0.3451, allocations: 0.6465 MB / 1.349 GB, free: 6.344 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3463, allocations: 0.9669 MB / 1.349 GB, free: 5.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.3482, allocations: 1.582 MB / 1.351 GB, free: 3.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.3482, allocations: 4 kB / 1.351 GB, free: 3.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002642/0.3508, allocations: 1.787 MB / 1.353 GB, free: 1.703 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3509, allocations: 12 kB / 1.353 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/0.3509, allocations: 12 kB / 1.353 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.3511, allocations: 49.39 kB / 1.353 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3523, allocations: 271.6 kB / 1.353 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.357, allocations: 6.836 MB / 1.36 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.3581, allocations: 143.3 kB / 1.36 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.3582, allocations: 40 kB / 1.36 GB, free: 10.02 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.000449/0.3586, allocations: 305.4 kB / 1.36 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.3588, allocations: 123.1 kB / 1.36 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.3602, allocations: 0.8374 MB / 1.361 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3602, allocations: 4 kB / 1.361 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3602, allocations: 7.938 kB / 1.361 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3602, allocations: 3.984 kB / 1.361 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.3614, allocations: 0.9229 MB / 1.362 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3614, allocations: 0 / 1.362 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.362, allocations: 111.8 kB / 1.362 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/0.3621, allocations: 32.83 kB / 1.362 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.3622, allocations: 19.98 kB / 1.362 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.3633, allocations: 1.433 MB / 1.364 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3633, allocations: 0 / 1.364 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.3651, allocations: 1.371 MB / 1.365 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.3656, allocations: 272.1 kB / 1.365 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.3657, allocations: 23.97 kB / 1.365 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/0.3664, allocations: 28.03 kB / 1.365 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.3665, allocations: 31.95 kB / 1.365 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.3665, allocations: 12 kB / 1.365 GB, free: 4.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001255/0.3678, allocations: 0.8311 MB / 1.366 GB, free: 3.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3678, allocations: 3.938 kB / 1.366 GB, free: 3.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001064/0.3688, allocations: 367.6 kB / 1.366 GB, free: 3.051 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.002556/0.3714, allocations: 2.085 MB / 1.369 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.3739, allocations: 1.397 MB / 1.37 GB, free: 15.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3739, allocations: 0 / 1.37 GB, free: 15.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.3745, allocations: 466.1 kB / 1.37 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3758, allocations: 233.7 kB / 1.371 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/0.3922, allocations: 11.59 MB / 1.382 GB, free: 2.812 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.393, allocations: 1.102 MB / 1.383 GB, free: 1.684 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005593/0.3936, allocations: 207.1 kB / 1.383 GB, free: 1.477 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.3942, allocations: 403.3 kB / 1.384 GB, free: 1.082 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/0.3942, allocations: 0 / 1.384 GB, free: 1.082 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06396/0.4581, allocations: 24.5 MB / 1.407 GB, free: 8.906 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.01, allocations: 5.656 kB / 1.407 GB, free: 8.902 MB / 1.107 GB " [Timeout remaining time 286] (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: 20.34486371721141]