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.001217/0.001217, allocations: 114.8 kB / 17.16 MB, free: 5.969 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.001311/0.001311, allocations: 214.2 kB / 20.13 MB, free: 3.023 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.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.885/2.885, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 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.001949/0.001949, allocations: 59.91 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8181, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004934/0.8231, allocations: 4.404 MB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005417/0.8285, allocations: 3.012 MB / 1.347 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008709/0.8293, allocations: 29.5 kB / 1.347 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.8305, allocations: 374 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.8324, allocations: 0.6561 MB / 1.348 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.8342, allocations: 0.635 MB / 1.349 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.8369, allocations: 1.891 MB / 1.351 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.8372, allocations: 120.2 kB / 1.351 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.8387, allocations: 0.6038 MB / 1.352 GB, free: 9.133 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.8401, allocations: 0.6919 MB / 1.352 GB, free: 8.855 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.8403, allocations: 77.84 kB / 1.352 GB, free: 8.855 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009861/0.8412, allocations: 418.2 kB / 1.353 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.8419, allocations: 481.8 kB / 1.353 GB, free: 8.578 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000918/0.8428, allocations: 0.5974 MB / 1.354 GB, free: 8.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.8453, allocations: 1.491 MB / 1.355 GB, free: 7.676 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8453, allocations: 4 kB / 1.355 GB, free: 7.672 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.828e-06/0.8453, allocations: 5.688 kB / 1.355 GB, free: 7.668 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.8453, allocations: 0 / 1.355 GB, free: 7.668 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.003638/0.8489, allocations: 1.673 MB / 1.357 GB, free: 6.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.849, allocations: 10.14 kB / 1.357 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.795e-05/0.849, allocations: 11.69 kB / 1.357 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.292e-05/0.8491, allocations: 87.22 kB / 1.357 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004851/0.8496, allocations: 152 kB / 1.357 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.8511, allocations: 0.8485 MB / 1.358 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.8511, allocations: 44.06 kB / 1.358 GB, free: 5.883 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.8512, allocations: 69.33 kB / 1.358 GB, free: 5.855 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.8522, allocations: 0.6187 MB / 1.359 GB, free: 5.617 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.8522, allocations: 4 kB / 1.359 GB, free: 5.613 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.8522, allocations: 15.75 kB / 1.359 GB, free: 5.602 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.8523, allocations: 10.72 kB / 1.359 GB, free: 5.602 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.853, allocations: 0.5594 MB / 1.359 GB, free: 5.465 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.00455/0.8576, allocations: 3.283 MB / 1.362 GB, free: 3.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.8589, allocations: 0.8194 MB / 1.363 GB, free: 3.094 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.8593, allocations: 343.5 kB / 1.364 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.75e-05/0.8594, allocations: 24.3 kB / 1.364 GB, free: 3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.8594, allocations: 42.69 kB / 1.364 GB, free: 2.953 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/0.8594, allocations: 0 / 1.364 GB, free: 2.953 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001749/0.8612, allocations: 1.187 MB / 1.365 GB, free: 2.523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.8612, allocations: 56.06 kB / 1.365 GB, free: 2.461 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.8628, allocations: 1.241 MB / 1.366 GB, free: 1.977 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.8629, allocations: 45.53 kB / 1.366 GB, free: 1.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.8632, allocations: 472.6 kB / 1.367 GB, free: 1.559 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.8634, allocations: 187.2 kB / 1.367 GB, free: 1.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.8636, allocations: 208.6 kB / 1.367 GB, free: 1.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.8637, allocations: 351.3 kB / 1.367 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.8644, allocations: 0.6453 MB / 1.368 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.8652, allocations: 0.9739 MB / 1.369 GB, free: 180 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.867, allocations: 1.582 MB / 1.37 GB, free: 15.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.867, allocations: 6.156 kB / 1.37 GB, free: 15.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002576/0.8696, allocations: 1.781 MB / 1.372 GB, free: 14.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.8696, allocations: 10.12 kB / 1.372 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.8696, allocations: 12.8 kB / 1.372 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.8699, allocations: 51.91 kB / 1.372 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.871, allocations: 262.6 kB / 1.372 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/0.8757, allocations: 6.839 MB / 1.379 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.8771, allocations: 135.8 kB / 1.379 GB, free: 8.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.8771, allocations: 41.7 kB / 1.379 GB, free: 8.172 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.0005415/0.8777, allocations: 306.5 kB / 1.38 GB, free: 7.969 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.8779, allocations: 121 kB / 1.38 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.8792, allocations: 0.8478 MB / 1.38 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8792, allocations: 4.672 kB / 1.381 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8793, allocations: 0 / 1.381 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.8793, allocations: 3.922 kB / 1.381 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.8806, allocations: 0.9162 MB / 1.381 GB, free: 7.191 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8806, allocations: 1.031 kB / 1.381 GB, free: 7.191 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.8811, allocations: 113.9 kB / 1.382 GB, free: 7.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.8813, allocations: 31.91 kB / 1.382 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.8813, allocations: 17.23 kB / 1.382 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.8825, allocations: 1.439 MB / 1.383 GB, free: 5.738 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8825, allocations: 0.75 kB / 1.383 GB, free: 5.738 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.885, allocations: 1.374 MB / 1.384 GB, free: 5.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007561/0.8857, allocations: 274.9 kB / 1.385 GB, free: 5.027 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.8859, allocations: 15.69 kB / 1.385 GB, free: 5.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.8865, allocations: 41.31 kB / 1.385 GB, free: 5.004 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.8866, allocations: 24.16 kB / 1.385 GB, free: 5.004 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.8866, allocations: 13.92 kB / 1.385 GB, free: 5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001553/0.8882, allocations: 0.8332 MB / 1.385 GB, free: 4.672 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8882, allocations: 0 / 1.385 GB, free: 4.672 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001347/0.8895, allocations: 367.7 kB / 1.386 GB, free: 4.625 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.003029/0.8926, allocations: 2.094 MB / 1.388 GB, free: 3.547 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.8957, allocations: 1.391 MB / 1.389 GB, free: 3.043 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8957, allocations: 0 / 1.389 GB, free: 3.043 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006766/0.8964, allocations: 465.3 kB / 1.39 GB, free: 2.848 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.898, allocations: 220.5 kB / 1.39 GB, free: 2.754 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/0.9197, allocations: 11.61 MB / 1.401 GB, free: 13.01 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/0.9206, allocations: 1.098 MB / 1.402 GB, free: 12.28 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007938/0.9214, allocations: 205.4 kB / 1.402 GB, free: 12.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/0.9221, allocations: 404.3 kB / 1.403 GB, free: 11.94 MB / 1.092 GB Notification: Performance of SimCode: time 1.714e-06/0.9221, allocations: 0.75 kB / 1.403 GB, free: 11.94 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/0.9869, allocations: 24.55 MB / 1.427 GB, free: 14.44 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.09, allocations: 7.922 kB / 1.427 GB, free: 14.43 MB / 1.107 GB " [Timeout remaining time 285] (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.824900862004142]