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.001508/0.001508, allocations: 116.8 kB / 17.17 MB, free: 6 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.001619/0.001619, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.847/2.847, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_12_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.001963/0.001963, allocations: 71.89 kB / 1.149 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8754/0.8774, allocations: 176.1 MB / 1.321 GB, free: 24.86 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004296/0.8817, allocations: 4.399 MB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00457/0.8862, allocations: 3.018 MB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.8869, allocations: 28.62 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.8879, allocations: 373.1 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.8891, allocations: 0.6548 MB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.8906, allocations: 0.6347 MB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002493/0.8931, allocations: 1.891 MB / 1.332 GB, free: 18.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.8933, allocations: 123.5 kB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009087/0.8942, allocations: 0.6074 MB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008849/0.8951, allocations: 0.6926 MB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.8952, allocations: 78.75 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007945/0.896, allocations: 417.1 kB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005004/0.8965, allocations: 474.7 kB / 1.334 GB, free: 17.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.8972, allocations: 0.6047 MB / 1.335 GB, free: 16.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.8992, allocations: 1.486 MB / 1.337 GB, free: 16.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8992, allocations: 5.375 kB / 1.337 GB, free: 16.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8992, allocations: 0 / 1.337 GB, free: 16.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.8992, allocations: 0 / 1.337 GB, free: 16.25 MB / 1.061 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.00299/0.9022, allocations: 1.679 MB / 1.338 GB, free: 15.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9022, allocations: 9.375 kB / 1.338 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.263e-05/0.9023, allocations: 10.78 kB / 1.338 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.9023, allocations: 87.48 kB / 1.338 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.9027, allocations: 148.7 kB / 1.338 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.9039, allocations: 0.8524 MB / 1.339 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.9039, allocations: 39.88 kB / 1.339 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.904, allocations: 73.39 kB / 1.339 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.9049, allocations: 0.6143 MB / 1.34 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.9049, allocations: 3.938 kB / 1.34 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.9049, allocations: 15.75 kB / 1.34 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.905, allocations: 10.41 kB / 1.34 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.9057, allocations: 0.5568 MB / 1.341 GB, free: 14.05 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.003958/0.9097, allocations: 3.286 MB / 1.344 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.9109, allocations: 0.8198 MB / 1.345 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.9113, allocations: 344.4 kB / 1.345 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.861e-05/0.9114, allocations: 24.47 kB / 1.345 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.9114, allocations: 42.48 kB / 1.345 GB, free: 11.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.9114, allocations: 0 / 1.345 GB, free: 11.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001711/0.9131, allocations: 1.184 MB / 1.346 GB, free: 11.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.9132, allocations: 56.59 kB / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.9147, allocations: 1.238 MB / 1.347 GB, free: 10.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.9148, allocations: 48.27 kB / 1.347 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.915, allocations: 465.1 kB / 1.348 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.9152, allocations: 183.2 kB / 1.348 GB, free: 10 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.9155, allocations: 215.5 kB / 1.348 GB, free: 9.902 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.9155, allocations: 353 kB / 1.349 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/0.9163, allocations: 0.6413 MB / 1.349 GB, free: 9.383 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/0.9171, allocations: 0.973 MB / 1.35 GB, free: 8.762 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.9185, allocations: 1.584 MB / 1.352 GB, free: 7.883 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.9185, allocations: 7.812 kB / 1.352 GB, free: 7.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00217/0.9207, allocations: 1.786 MB / 1.353 GB, free: 7.227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9207, allocations: 9.094 kB / 1.353 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.9207, allocations: 12.69 kB / 1.353 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.9209, allocations: 49.05 kB / 1.353 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.922, allocations: 266.1 kB / 1.354 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.9245, allocations: 6.836 MB / 1.36 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.9257, allocations: 132.3 kB / 1.361 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.9257, allocations: 41.03 kB / 1.361 GB, free: 0.7617 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.0003911/0.9261, allocations: 302.8 kB / 1.361 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.9263, allocations: 121.4 kB / 1.361 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.9274, allocations: 0.854 MB / 1.362 GB, free: 196 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.9274, allocations: 7.719 kB / 1.362 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.9274, allocations: 1.438 kB / 1.362 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.9274, allocations: 2.438 kB / 1.362 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.9285, allocations: 0.9167 MB / 1.363 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9286, allocations: 0.6094 kB / 1.363 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.9291, allocations: 114.7 kB / 1.363 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.9292, allocations: 34.78 kB / 1.363 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.9292, allocations: 17.03 kB / 1.363 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.9303, allocations: 1.435 MB / 1.364 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9303, allocations: 0.75 kB / 1.364 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.932, allocations: 1.373 MB / 1.366 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.9325, allocations: 279.9 kB / 1.366 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.9326, allocations: 15.3 kB / 1.366 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.9332, allocations: 28.66 kB / 1.366 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.9333, allocations: 32.83 kB / 1.366 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.9333, allocations: 17.7 kB / 1.366 GB, free: 13.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001203/0.9345, allocations: 0.825 MB / 1.367 GB, free: 13.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9345, allocations: 0 / 1.367 GB, free: 13.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001199/0.9357, allocations: 372.9 kB / 1.367 GB, free: 13.2 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.002584/0.9383, allocations: 2.087 MB / 1.369 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002469/0.9408, allocations: 1.402 MB / 1.371 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9408, allocations: 4.312 kB / 1.371 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.9414, allocations: 465.1 kB / 1.371 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.9427, allocations: 220.1 kB / 1.371 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.9594, allocations: 11.6 MB / 1.383 GB, free: 5.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.9602, allocations: 1.105 MB / 1.384 GB, free: 4.852 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006502/0.9608, allocations: 205 kB / 1.384 GB, free: 4.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/0.9614, allocations: 401.2 kB / 1.384 GB, free: 4.516 MB / 1.076 GB Notification: Performance of SimCode: time 6.81e-07/0.9614, allocations: 0 / 1.384 GB, free: 4.516 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06368/1.025, allocations: 24.54 MB / 1.408 GB, free: 13.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.06, allocations: 11.38 kB / 1.408 GB, free: 13.49 MB / 1.092 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.533714548975695]