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.001677/0.001677, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.002026/0.002027, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.457/1.457, allocations: 222.9 MB / 245.1 MB, free: 15 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.128/3.128, allocations: 489 MB / 0.7678 GB, free: 29.18 MB / 0.6231 GB " [Timeout remaining time 177] 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.001946/0.001946, allocations: 71.88 kB / 1.101 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.84, allocations: 163.8 MB / 1.261 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006405/0.8464, allocations: 4.346 MB / 1.265 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006071/0.8525, allocations: 2.944 MB / 1.268 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.8536, allocations: 19.88 kB / 1.268 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.8553, allocations: 365.6 kB / 1.268 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.8575, allocations: 0.6532 MB / 1.269 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.8595, allocations: 0.6303 MB / 1.27 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002765/0.8623, allocations: 1.882 MB / 1.272 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.8627, allocations: 177.8 kB / 1.272 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.8639, allocations: 0.584 MB / 1.272 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.8653, allocations: 0.6615 MB / 1.273 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.8656, allocations: 76 kB / 1.273 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.8667, allocations: 419.4 kB / 1.273 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006657/0.8674, allocations: 454.7 kB / 1.274 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.8685, allocations: 0.6062 MB / 1.274 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.8707, allocations: 1.478 MB / 1.276 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8708, allocations: 0 / 1.276 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8708, allocations: 0 / 1.276 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.833e-05/0.8708, allocations: 0 / 1.276 GB, free: 7.797 MB / 0.9825 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.003523/0.8744, allocations: 1.662 MB / 1.278 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8744, allocations: 8.031 kB / 1.278 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.8745, allocations: 86.7 kB / 1.278 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.8748, allocations: 140 kB / 1.278 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.8762, allocations: 0.8475 MB / 1.279 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.8762, allocations: 41.38 kB / 1.279 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.8763, allocations: 64.38 kB / 1.279 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009292/0.8773, allocations: 0.6176 MB / 1.279 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.8773, allocations: 4 kB / 1.279 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.8774, allocations: 20 kB / 1.279 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.8774, allocations: 11.94 kB / 1.279 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.8782, allocations: 0.5582 MB / 1.28 GB, free: 3.605 MB / 0.9825 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.004799/0.883, allocations: 3.275 MB / 1.283 GB, free: 88 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.8845, allocations: 0.8495 MB / 1.284 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.885, allocations: 369.3 kB / 1.284 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.8851, allocations: 24.36 kB / 1.284 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.8851, allocations: 30.94 kB / 1.284 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/0.8851, allocations: 0 / 1.284 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.00198/0.8871, allocations: 1.19 MB / 1.285 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.8872, allocations: 59.34 kB / 1.286 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.889, allocations: 1.228 MB / 1.287 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.889, allocations: 41.7 kB / 1.287 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.8895, allocations: 473.3 kB / 1.287 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.8897, allocations: 182.4 kB / 1.287 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.89, allocations: 210.6 kB / 1.288 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.8901, allocations: 357.9 kB / 1.288 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/0.891, allocations: 0.6426 MB / 1.289 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.8921, allocations: 0.9708 MB / 1.29 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.8941, allocations: 1.582 MB / 1.291 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.8941, allocations: 0 / 1.291 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002575/0.8967, allocations: 1.791 MB / 1.293 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.8967, allocations: 8 kB / 1.293 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.8968, allocations: 12 kB / 1.293 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.897, allocations: 53.42 kB / 1.293 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.8982, allocations: 263.6 kB / 1.293 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.9029, allocations: 6.844 MB / 1.3 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.9039, allocations: 135.3 kB / 1.3 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.904, allocations: 44 kB / 1.3 GB, free: 14.05 MB / 1.014 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.0005123/0.9045, allocations: 297.4 kB / 1.3 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.9048, allocations: 119.2 kB / 1.3 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.9063, allocations: 0.8427 MB / 1.301 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.9063, allocations: 4 kB / 1.301 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9063, allocations: 7.938 kB / 1.301 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9063, allocations: 0 / 1.301 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.9077, allocations: 0.9191 MB / 1.302 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.9077, allocations: 0 / 1.302 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.9083, allocations: 111.8 kB / 1.302 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.9084, allocations: 28.84 kB / 1.302 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.9085, allocations: 23.92 kB / 1.302 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.9098, allocations: 1.437 MB / 1.304 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9098, allocations: 0 / 1.304 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.9119, allocations: 1.374 MB / 1.305 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.9125, allocations: 264.1 kB / 1.305 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.9127, allocations: 19.98 kB / 1.305 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/0.9134, allocations: 32.03 kB / 1.305 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.9135, allocations: 27.95 kB / 1.305 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.9135, allocations: 12 kB / 1.305 GB, free: 8.297 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001567/0.9151, allocations: 0.8194 MB / 1.306 GB, free: 7.473 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9151, allocations: 0 / 1.306 GB, free: 7.473 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001352/0.9165, allocations: 367.6 kB / 1.307 GB, free: 7.113 MB / 1.014 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.002932/0.9194, allocations: 2.096 MB / 1.309 GB, free: 4.984 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002858/0.9223, allocations: 1.506 MB / 1.31 GB, free: 3.453 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9223, allocations: 0 / 1.31 GB, free: 3.453 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006866/0.923, allocations: 478.1 kB / 1.31 GB, free: 2.973 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.9243, allocations: 234.8 kB / 1.311 GB, free: 2.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.9419, allocations: 11.59 MB / 1.322 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/0.9428, allocations: 1.102 MB / 1.323 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006098/0.9435, allocations: 203.1 kB / 1.323 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005902/0.9441, allocations: 395.3 kB / 1.324 GB, free: 5.035 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.9441, allocations: 0 / 1.324 GB, free: 5.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06311/1.007, allocations: 24.16 MB / 1.347 GB, free: 13.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.42, allocations: 3.938 kB / 1.347 GB, free: 13.21 MB / 1.061 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_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.735887837130576]