Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005156/0.005156, allocations: 101.7 kB / 15.73 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 194.5 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2807, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005495/0.2863, allocations: 4.352 MB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005045/0.2914, allocations: 2.951 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.2921, allocations: 19.88 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.2934, allocations: 365.6 kB / 1.174 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.2952, allocations: 0.6486 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.2972, allocations: 0.6353 MB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.2996, allocations: 1.878 MB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.3, allocations: 185.7 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3012, allocations: 0.5957 MB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.3025, allocations: 0.6616 MB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.3028, allocations: 76 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000971/0.3038, allocations: 415.4 kB / 1.179 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006399/0.3044, allocations: 462.6 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009117/0.3054, allocations: 0.5984 MB / 1.18 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.3072, allocations: 1.472 MB / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3072, allocations: 0 / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3072, allocations: 7.938 kB / 1.181 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.735e-05/0.3073, allocations: 0 / 1.181 GB, free: 7.934 MB / 0.9356 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.003225/0.3105, allocations: 1.62 MB / 1.183 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3105, allocations: 11.98 kB / 1.183 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.893e-05/0.3106, allocations: 82.7 kB / 1.183 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.3109, allocations: 131.3 kB / 1.183 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.3124, allocations: 0.8427 MB / 1.184 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.3124, allocations: 45.38 kB / 1.184 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3125, allocations: 68.31 kB / 1.184 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.3134, allocations: 0.6099 MB / 1.184 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3134, allocations: 0 / 1.184 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.3135, allocations: 16 kB / 1.184 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3135, allocations: 12 kB / 1.184 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.3143, allocations: 0.5582 MB / 1.185 GB, free: 3.812 MB / 0.9356 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.004696/0.319, allocations: 3.274 MB / 1.188 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.3204, allocations: 0.8471 MB / 1.189 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.3209, allocations: 369.3 kB / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/0.321, allocations: 20.36 kB / 1.189 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.321, allocations: 38.94 kB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.321, allocations: 3.938 kB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001872/0.3229, allocations: 1.178 MB / 1.191 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3229, allocations: 59.41 kB / 1.191 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.3247, allocations: 1.224 MB / 1.192 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.3248, allocations: 41.7 kB / 1.192 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.3252, allocations: 468.6 kB / 1.192 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.3254, allocations: 173.6 kB / 1.192 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.3257, allocations: 210.4 kB / 1.193 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3259, allocations: 357.9 kB / 1.193 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/0.3267, allocations: 0.6426 MB / 1.194 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.3277, allocations: 0.9785 MB / 1.195 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.3295, allocations: 1.582 MB / 1.196 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.3296, allocations: 8 kB / 1.196 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002528/0.3321, allocations: 1.779 MB / 1.198 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.3322, allocations: 12 kB / 1.198 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.3322, allocations: 16.73 kB / 1.198 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.3324, allocations: 44.84 kB / 1.198 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3336, allocations: 267.6 kB / 1.198 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.338, allocations: 6.828 MB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.3392, allocations: 130.8 kB / 1.205 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.3393, allocations: 36 kB / 1.205 GB, free: 14.29 MB / 0.9669 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.0005193/0.3398, allocations: 309.4 kB / 1.205 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.3401, allocations: 114.4 kB / 1.205 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3414, allocations: 0.8388 MB / 1.206 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3415, allocations: 8 kB / 1.206 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3415, allocations: 0 / 1.206 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3415, allocations: 3.984 kB / 1.206 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3427, allocations: 0.919 MB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3427, allocations: 0 / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.3433, allocations: 107.9 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.3434, allocations: 32.83 kB / 1.207 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.3435, allocations: 19.98 kB / 1.207 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.3447, allocations: 1.449 MB / 1.209 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3447, allocations: 0 / 1.209 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3465, allocations: 1.366 MB / 1.21 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.347, allocations: 275.4 kB / 1.21 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.3472, allocations: 8.062 kB / 1.21 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005973/0.3478, allocations: 31.97 kB / 1.21 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.3479, allocations: 27.95 kB / 1.21 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.3479, allocations: 12 kB / 1.21 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001266/0.3492, allocations: 0.8193 MB / 1.211 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3492, allocations: 0 / 1.211 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001178/0.3504, allocations: 359.7 kB / 1.212 GB, free: 7.359 MB / 0.9669 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.002629/0.353, allocations: 2.099 MB / 1.214 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.3558, allocations: 1.498 MB / 1.215 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3558, allocations: 0 / 1.215 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/0.3565, allocations: 482.3 kB / 1.216 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.3577, allocations: 236.3 kB / 1.216 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.3745, allocations: 11.51 MB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.3755, allocations: 1.102 MB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007127/0.3762, allocations: 207.1 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/0.3769, allocations: 399.3 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.3769, allocations: 0 / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6036/0.9805, allocations: 24.15 MB / 1.252 GB, free: 79.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.32, allocations: 5.016 kB / 1.252 GB, free: 79.41 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches