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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 108.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.241/3.241, allocations: 497.2 MB / 0.7811 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.28 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3246, allocations: 173.9 MB / 1.304 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005959/0.3306, allocations: 4.379 MB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005234/0.3358, allocations: 2.961 MB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005743/0.3364, allocations: 19.88 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3375, allocations: 369.7 kB / 1.311 GB, free: 9.824 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.3389, allocations: 0.6454 MB / 1.312 GB, free: 9.176 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3405, allocations: 0.6428 MB / 1.313 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.3429, allocations: 1.886 MB / 1.315 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.3432, allocations: 117.9 kB / 1.315 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008723/0.344, allocations: 0.5957 MB / 1.315 GB, free: 5.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009267/0.345, allocations: 0.685 MB / 1.316 GB, free: 5.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.3451, allocations: 76 kB / 1.316 GB, free: 5.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007391/0.3458, allocations: 423.4 kB / 1.316 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005052/0.3464, allocations: 474.5 kB / 1.317 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.347, allocations: 0.5945 MB / 1.317 GB, free: 3.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.3487, allocations: 1.482 MB / 1.319 GB, free: 2.191 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3487, allocations: 0 / 1.319 GB, free: 2.191 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3487, allocations: 0 / 1.319 GB, free: 2.191 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.3487, allocations: 0 / 1.319 GB, free: 2.191 MB / 1.014 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.003196/0.3519, allocations: 1.665 MB / 1.321 GB, free: 480 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.352, allocations: 12.92 kB / 1.321 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.3521, allocations: 78.7 kB / 1.321 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3523, allocations: 144 kB / 1.321 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.3538, allocations: 0.8398 MB / 1.322 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.3538, allocations: 45.38 kB / 1.322 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.3539, allocations: 68.27 kB / 1.322 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.3549, allocations: 0.6216 MB / 1.322 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3549, allocations: 0 / 1.322 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3549, allocations: 16 kB / 1.322 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3549, allocations: 12 kB / 1.322 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.3557, allocations: 0.5621 MB / 1.323 GB, free: 14 MB / 1.029 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.004824/0.3606, allocations: 3.283 MB / 1.326 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.362, allocations: 0.8125 MB / 1.327 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.3625, allocations: 341.4 kB / 1.327 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.3626, allocations: 32.34 kB / 1.327 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3626, allocations: 38.94 kB / 1.327 GB, free: 9.238 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.3626, allocations: 0 / 1.327 GB, free: 9.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001899/0.3645, allocations: 1.18 MB / 1.328 GB, free: 8.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3645, allocations: 55.41 kB / 1.328 GB, free: 7.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.3663, allocations: 1.231 MB / 1.33 GB, free: 6.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.3663, allocations: 41.7 kB / 1.33 GB, free: 6.676 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.3667, allocations: 473.3 kB / 1.33 GB, free: 6.207 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.3669, allocations: 178.4 kB / 1.33 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.3672, allocations: 214.5 kB / 1.331 GB, free: 5.816 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3674, allocations: 353.9 kB / 1.331 GB, free: 5.465 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008311/0.3682, allocations: 0.6426 MB / 1.331 GB, free: 4.824 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.3693, allocations: 0.9786 MB / 1.332 GB, free: 3.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.3712, allocations: 1.582 MB / 1.334 GB, free: 1.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.3712, allocations: 4 kB / 1.334 GB, free: 1.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002578/0.3738, allocations: 1.788 MB / 1.336 GB, free: 164 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3738, allocations: 12 kB / 1.336 GB, free: 152 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.3738, allocations: 15.98 kB / 1.336 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.374, allocations: 41.22 kB / 1.336 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.3752, allocations: 267.6 kB / 1.336 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.3798, allocations: 6.832 MB / 1.343 GB, free: 8.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.381, allocations: 131 kB / 1.343 GB, free: 8.539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.3811, allocations: 40.28 kB / 1.343 GB, free: 8.5 MB / 1.045 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.0005032/0.3816, allocations: 320.8 kB / 1.343 GB, free: 8.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.3818, allocations: 119.1 kB / 1.343 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.3831, allocations: 0.8453 MB / 1.344 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3831, allocations: 4 kB / 1.344 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.3831, allocations: 0 / 1.344 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.3831, allocations: 3.984 kB / 1.344 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3843, allocations: 0.9152 MB / 1.345 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3844, allocations: 7.938 kB / 1.345 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.3849, allocations: 107.9 kB / 1.345 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.385, allocations: 32.83 kB / 1.345 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.3851, allocations: 19.98 kB / 1.345 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.3864, allocations: 1.434 MB / 1.347 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/0.3864, allocations: 8.188 kB / 1.347 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3882, allocations: 1.37 MB / 1.348 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.3887, allocations: 272 kB / 1.348 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3889, allocations: 16 kB / 1.348 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.3894, allocations: 27.95 kB / 1.348 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.3895, allocations: 27.97 kB / 1.348 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.3895, allocations: 12 kB / 1.348 GB, free: 2.73 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00123/0.3907, allocations: 0.8232 MB / 1.349 GB, free: 1.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 1.349 GB, free: 1.902 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00113/0.3919, allocations: 367.5 kB / 1.349 GB, free: 1.543 MB / 1.045 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.002645/0.3945, allocations: 2.088 MB / 1.351 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002527/0.397, allocations: 1.394 MB / 1.353 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.397, allocations: 0 / 1.353 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.3976, allocations: 466.1 kB / 1.353 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3987, allocations: 233 kB / 1.354 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.4149, allocations: 11.57 MB / 1.365 GB, free: 1.328 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/0.4157, allocations: 1.102 MB / 1.366 GB, free: 204 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006176/0.4163, allocations: 199.1 kB / 1.366 GB, free: 0 / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.4169, allocations: 399.4 kB / 1.366 GB, free: 15.61 MB / 1.076 GB Notification: Performance of SimCode: time 1.212e-06/0.4169, allocations: 0 / 1.366 GB, free: 15.61 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/0.4828, allocations: 24.33 MB / 1.39 GB, free: 7.609 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/14.97, allocations: 10.7 kB / 1.39 GB, free: 7.602 MB / 1.092 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_2/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.783455055207014]