Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001293/0.001293, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001453/0.001453, allocations: 214.3 kB / 22.25 MB, free: 4.859 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.824/2.824, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",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.002132/0.002132, allocations: 69.39 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005951/0.3372, allocations: 3.969 MB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005586/0.3428, allocations: 2.846 MB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/0.3433, allocations: 27.75 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3444, allocations: 345.8 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.346, allocations: 0.7057 MB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.3477, allocations: 0.6549 MB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002716/0.3505, allocations: 1.899 MB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.3508, allocations: 122.4 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.352, allocations: 0.6151 MB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.3531, allocations: 0.6772 MB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.3533, allocations: 76 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008835/0.3541, allocations: 411.4 kB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005776/0.3547, allocations: 482.6 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.3553, allocations: 0.5014 MB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.3572, allocations: 1.502 MB / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3572, allocations: 0 / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3572, allocations: 0 / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.3572, allocations: 0 / 1.297 GB, free: 13.64 MB / 0.9981 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.003377/0.3606, allocations: 1.61 MB / 1.299 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3606, allocations: 12.03 kB / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.3607, allocations: 78.72 kB / 1.299 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.3611, allocations: 156 kB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3627, allocations: 0.782 MB / 1.3 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.3628, allocations: 45.38 kB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3629, allocations: 68.33 kB / 1.3 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.3639, allocations: 0.6176 MB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.364, allocations: 0 / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.364, allocations: 19.98 kB / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.364, allocations: 12 kB / 1.3 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/0.3649, allocations: 0.5543 MB / 1.301 GB, free: 9.586 MB / 0.9981 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.00478/0.3697, allocations: 2.294 MB / 1.303 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.3712, allocations: 0.8099 MB / 1.304 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.3718, allocations: 357.3 kB / 1.304 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/0.3719, allocations: 20.36 kB / 1.304 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3719, allocations: 34.94 kB / 1.304 GB, free: 6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.324e-06/0.3719, allocations: 0 / 1.304 GB, free: 6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002052/0.3739, allocations: 1.115 MB / 1.305 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.374, allocations: 59.34 kB / 1.305 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.3759, allocations: 1.247 MB / 1.307 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.3759, allocations: 41.7 kB / 1.307 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.3764, allocations: 469.3 kB / 1.307 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.3766, allocations: 182.4 kB / 1.307 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.3769, allocations: 218.5 kB / 1.307 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3771, allocations: 349.9 kB / 1.308 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/0.378, allocations: 0.6465 MB / 1.308 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.3792, allocations: 0.963 MB / 1.309 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.3813, allocations: 1.586 MB / 1.311 GB, free: 14.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.3813, allocations: 4 kB / 1.311 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002994/0.3843, allocations: 1.787 MB / 1.313 GB, free: 13.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.3843, allocations: 12 kB / 1.313 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/0.3844, allocations: 12 kB / 1.313 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.3846, allocations: 45.53 kB / 1.313 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.3858, allocations: 271.6 kB / 1.313 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.3909, allocations: 6.728 MB / 1.32 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.3922, allocations: 131.5 kB / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/0.3923, allocations: 44 kB / 1.32 GB, free: 5.473 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.0004861/0.3928, allocations: 297.5 kB / 1.32 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.393, allocations: 127.1 kB / 1.32 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.3944, allocations: 0.8427 MB / 1.321 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3944, allocations: 4 kB / 1.321 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3944, allocations: 0 / 1.321 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3945, allocations: 3.984 kB / 1.321 GB, free: 4.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.3956, allocations: 0.739 MB / 1.322 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3956, allocations: 11.92 kB / 1.322 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.3962, allocations: 107.9 kB / 1.322 GB, free: 3.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.3963, allocations: 32.83 kB / 1.322 GB, free: 3.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.3964, allocations: 19.94 kB / 1.322 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.3976, allocations: 1.334 MB / 1.323 GB, free: 1.781 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3976, allocations: 0 / 1.323 GB, free: 1.781 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.3996, allocations: 1.374 MB / 1.325 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.4002, allocations: 195 kB / 1.325 GB, free: 196 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.4004, allocations: 15.98 kB / 1.325 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.401, allocations: 32.06 kB / 1.325 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.4011, allocations: 27.89 kB / 1.325 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.4011, allocations: 20.08 kB / 1.325 GB, free: 100 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001364/0.4025, allocations: 0.8272 MB / 1.326 GB, free: 15.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4025, allocations: 4 kB / 1.326 GB, free: 15.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001246/0.4037, allocations: 367.6 kB / 1.326 GB, free: 14.9 MB / 1.029 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.003019/0.4067, allocations: 2.094 MB / 1.328 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002851/0.4096, allocations: 1.384 MB / 1.329 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4096, allocations: 4 kB / 1.329 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.4102, allocations: 467.9 kB / 1.33 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4116, allocations: 235.1 kB / 1.33 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.429, allocations: 11.6 MB / 1.341 GB, free: 14.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.4297, allocations: 0.5028 MB / 1.342 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006297/0.4303, allocations: 203.1 kB / 1.342 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/0.4309, allocations: 407.3 kB / 1.342 GB, free: 13.53 MB / 1.045 GB Notification: Performance of SimCode: time 1.482e-06/0.4309, allocations: 0 / 1.342 GB, free: 13.53 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.503, allocations: 26.41 MB / 1.368 GB, free: 3.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.67, allocations: 1.625 kB / 1.368 GB, free: 3.57 MB / 1.061 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.391826526727527]