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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006614/0.006614, allocations: 100.4 kB / 15.73 MB, free: 6.469 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.001339/0.001339, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 60.12 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3507, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.008564/0.3593, allocations: 4.355 MB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008182/0.3675, allocations: 2.945 MB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.3686, allocations: 19.88 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.3704, allocations: 369.7 kB / 1.215 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.3725, allocations: 0.6415 MB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.3744, allocations: 0.6374 MB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.3772, allocations: 1.882 MB / 1.218 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.3777, allocations: 181.9 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3788, allocations: 0.5957 MB / 1.219 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.3803, allocations: 0.6615 MB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.3807, allocations: 76 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3821, allocations: 411.4 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007664/0.3829, allocations: 466.6 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.3844, allocations: 0.5945 MB / 1.221 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.3868, allocations: 1.483 MB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3868, allocations: 0 / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3868, allocations: 0 / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.771e-05/0.3869, allocations: 0 / 1.222 GB, free: 10.8 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.004063/0.391, allocations: 1.612 MB / 1.224 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.391, allocations: 12.62 kB / 1.224 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3912, allocations: 82.64 kB / 1.224 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.3915, allocations: 139.3 kB / 1.224 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.393, allocations: 0.8349 MB / 1.225 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.3931, allocations: 41.38 kB / 1.225 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.3932, allocations: 64.31 kB / 1.225 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.3941, allocations: 0.6176 MB / 1.225 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3941, allocations: 4 kB / 1.225 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.3942, allocations: 19.98 kB / 1.226 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3942, allocations: 12 kB / 1.226 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/0.395, allocations: 0.5621 MB / 1.226 GB, free: 6.68 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.005153/0.4002, allocations: 3.267 MB / 1.229 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.4015, allocations: 0.8482 MB / 1.23 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/0.402, allocations: 365.3 kB / 1.23 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.4021, allocations: 28.34 kB / 1.23 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4021, allocations: 34.94 kB / 1.23 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 2.355e-06/0.4021, allocations: 4 kB / 1.23 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.001887/0.404, allocations: 1.183 MB / 1.232 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.404, allocations: 55.41 kB / 1.232 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.4058, allocations: 1.227 MB / 1.233 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.4059, allocations: 41.7 kB / 1.233 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.4063, allocations: 464.6 kB / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.4065, allocations: 169.6 kB / 1.234 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.4068, allocations: 214.4 kB / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4069, allocations: 357.9 kB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007852/0.4077, allocations: 0.6387 MB / 1.235 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/0.4087, allocations: 0.9708 MB / 1.236 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.4106, allocations: 1.586 MB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.4107, allocations: 8 kB / 1.237 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002835/0.4135, allocations: 1.787 MB / 1.239 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4135, allocations: 9.719 kB / 1.239 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.4136, allocations: 12 kB / 1.239 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.4138, allocations: 48.77 kB / 1.239 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.415, allocations: 263.7 kB / 1.239 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/0.4196, allocations: 6.836 MB / 1.246 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.4208, allocations: 126.6 kB / 1.246 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.4209, allocations: 43.98 kB / 1.246 GB, free: 1.156 MB / 0.9981 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.0005365/0.4214, allocations: 305.5 kB / 1.246 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.4218, allocations: 118.5 kB / 1.247 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5967/1.019, allocations: 0.8339 MB / 1.247 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.019, allocations: 7.656 kB / 1.247 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.019, allocations: 1.156 kB / 1.247 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.019, allocations: 2.672 kB / 1.247 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/1.02, allocations: 0.9146 MB / 1.248 GB, free: 38.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.02, allocations: 0 / 1.248 GB, free: 38.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/1.021, allocations: 108.8 kB / 1.248 GB, free: 38.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/1.021, allocations: 32.55 kB / 1.248 GB, free: 38.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/1.021, allocations: 19.38 kB / 1.248 GB, free: 38.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008411/1.022, allocations: 1.435 MB / 1.25 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.022, allocations: 0 / 1.25 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/1.024, allocations: 1.366 MB / 1.251 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/1.024, allocations: 267.1 kB / 1.251 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.024, allocations: 17.25 kB / 1.251 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/1.025, allocations: 26.27 kB / 1.251 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/1.025, allocations: 29.14 kB / 1.251 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/1.025, allocations: 13.34 kB / 1.251 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001105/1.026, allocations: 0.8199 MB / 1.252 GB, free: 36.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.026, allocations: 0 / 1.252 GB, free: 36.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001033/1.027, allocations: 368.7 kB / 1.253 GB, free: 36.91 MB / 0.9981 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.002201/1.029, allocations: 2.089 MB / 1.255 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002726/1.032, allocations: 1.501 MB / 1.256 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.032, allocations: 1.031 kB / 1.256 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004854/1.033, allocations: 476.8 kB / 1.257 GB, free: 35.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.034, allocations: 229.1 kB / 1.257 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.051, allocations: 11.52 MB / 1.268 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/1.052, allocations: 1.109 MB / 1.269 GB, free: 31.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007897/1.053, allocations: 202 kB / 1.269 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/1.053, allocations: 398.8 kB / 1.27 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.053, allocations: 0 / 1.27 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06532/1.119, allocations: 24.6 MB / 1.294 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.9, allocations: 22.25 kB / 1.294 GB, free: 27.82 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) 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) Reference file matches