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.00124/0.00124, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00137/0.00137, allocations: 209.8 kB / 23.03 MB, free: 4.926 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.057/3.057, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.002611/0.002611, allocations: 62.36 kB / 1.17 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3494, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006172/0.3555, allocations: 3.957 MB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005006/0.3606, allocations: 2.848 MB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.361, allocations: 27.75 kB / 1.352 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.362, allocations: 349.8 kB / 1.352 GB, free: 8.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.3634, allocations: 0.7079 MB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.365, allocations: 0.6732 MB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.3671, allocations: 1.902 MB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.3674, allocations: 130.3 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009377/0.3683, allocations: 0.6113 MB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.3694, allocations: 0.7162 MB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3695, allocations: 76 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007897/0.3703, allocations: 427.5 kB / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.3708, allocations: 490.5 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00056/0.3714, allocations: 0.4975 MB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.373, allocations: 1.502 MB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.373, allocations: 0 / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.293e-06/0.373, allocations: 0 / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.373, allocations: 3.938 kB / 1.36 GB, free: 1 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.00314/0.3762, allocations: 1.61 MB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3762, allocations: 15.97 kB / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.406e-05/0.3763, allocations: 9.188 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.16e-05/0.3763, allocations: 82.7 kB / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.3768, allocations: 144 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.3782, allocations: 0.7859 MB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.3782, allocations: 45.38 kB / 1.362 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3783, allocations: 64.12 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/0.3793, allocations: 0.6099 MB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3793, allocations: 4 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.3793, allocations: 16 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3793, allocations: 12 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.3801, allocations: 0.5621 MB / 1.364 GB, free: 12.95 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.004202/0.3843, allocations: 2.302 MB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.3857, allocations: 0.8068 MB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.3862, allocations: 352 kB / 1.367 GB, free: 9.426 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/0.3862, allocations: 32.36 kB / 1.367 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3863, allocations: 30.94 kB / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 2.976e-06/0.3863, allocations: 3.938 kB / 1.367 GB, free: 9.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001905/0.3882, allocations: 1.108 MB / 1.368 GB, free: 8.234 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3882, allocations: 59.39 kB / 1.368 GB, free: 8.164 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.3898, allocations: 1.239 MB / 1.369 GB, free: 6.914 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.3899, allocations: 37.7 kB / 1.369 GB, free: 6.871 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.3903, allocations: 477.3 kB / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.3905, allocations: 182.4 kB / 1.37 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.3908, allocations: 206.6 kB / 1.37 GB, free: 6.012 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.391, allocations: 361.9 kB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.3918, allocations: 0.6387 MB / 1.371 GB, free: 5.016 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3929, allocations: 0.9746 MB / 1.372 GB, free: 3.895 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.3947, allocations: 1.586 MB / 1.374 GB, free: 2.168 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3947, allocations: 0 / 1.374 GB, free: 2.168 MB / 1.061 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002607/0.3973, allocations: 1.787 MB / 1.376 GB, free: 372 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3974, allocations: 8 kB / 1.376 GB, free: 364 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.3974, allocations: 12 kB / 1.376 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.3976, allocations: 48.83 kB / 1.376 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3988, allocations: 264.1 kB / 1.376 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.4032, allocations: 6.744 MB / 1.382 GB, free: 8.992 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.4044, allocations: 131 kB / 1.383 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.4045, allocations: 43.98 kB / 1.383 GB, free: 8.82 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.0005102/0.405, allocations: 305.9 kB / 1.383 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.4052, allocations: 119.1 kB / 1.383 GB, free: 8.395 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.4064, allocations: 0.8463 MB / 1.384 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4064, allocations: 4 kB / 1.384 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4064, allocations: 4 kB / 1.384 GB, free: 7.527 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4064, allocations: 0 / 1.384 GB, free: 7.527 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.4074, allocations: 0.7428 MB / 1.385 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4074, allocations: 0 / 1.385 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.408, allocations: 111.9 kB / 1.385 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.4081, allocations: 32.83 kB / 1.385 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.4081, allocations: 15.98 kB / 1.385 GB, free: 6.586 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.4092, allocations: 1.33 MB / 1.386 GB, free: 5.141 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4092, allocations: 4.156 kB / 1.386 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.411, allocations: 1.378 MB / 1.387 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.4114, allocations: 198.9 kB / 1.388 GB, free: 3.547 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.4115, allocations: 16 kB / 1.388 GB, free: 3.531 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.4121, allocations: 35.95 kB / 1.388 GB, free: 3.496 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.4122, allocations: 27.94 kB / 1.388 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.4122, allocations: 12 kB / 1.388 GB, free: 3.457 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001147/0.4134, allocations: 0.8311 MB / 1.388 GB, free: 2.621 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4134, allocations: 4 kB / 1.388 GB, free: 2.617 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001043/0.4144, allocations: 367.6 kB / 1.389 GB, free: 2.258 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.002505/0.4169, allocations: 2.084 MB / 1.391 GB, free: 144 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.4195, allocations: 1.389 MB / 1.392 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4195, allocations: 0 / 1.392 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.4201, allocations: 466.5 kB / 1.393 GB, free: 14.26 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.4215, allocations: 227 kB / 1.393 GB, free: 14.04 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.4376, allocations: 11.61 MB / 1.404 GB, free: 2.023 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.4381, allocations: 0.4951 MB / 1.405 GB, free: 1.496 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005909/0.4387, allocations: 211.1 kB / 1.405 GB, free: 1.285 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.4392, allocations: 399.3 kB / 1.405 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of SimCode: time 1.162e-06/0.4392, allocations: 0 / 1.405 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06079/0.5, allocations: 26.02 MB / 1.431 GB, free: 7.34 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.37, allocations: 4 kB / 1.431 GB, free: 7.336 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: 21.984121475019492]