Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001785/0.001785, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002364/0.002364, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.453/3.453, allocations: 0.49 GB / 0.7951 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_12_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.002076/0.002076, allocations: 63.06 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006459/0.3742, allocations: 4.419 MB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.3798, allocations: 3.031 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007215/0.3805, allocations: 31.69 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.3817, allocations: 373.7 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.3836, allocations: 0.6969 MB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.3854, allocations: 0.6653 MB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.3882, allocations: 1.913 MB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.3885, allocations: 126.3 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.3898, allocations: 0.6074 MB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.391, allocations: 0.7162 MB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.3911, allocations: 80 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008579/0.392, allocations: 435.4 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.3925, allocations: 494.4 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.3932, allocations: 0.6023 MB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.3952, allocations: 1.494 MB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3952, allocations: 0 / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3952, allocations: 0 / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.3952, allocations: 4 kB / 1.341 GB, free: 2.246 MB / 1.029 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.003287/0.3985, allocations: 1.598 MB / 1.343 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3985, allocations: 8.031 kB / 1.343 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.919e-05/0.3986, allocations: 90.64 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.399, allocations: 152 kB / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.4005, allocations: 0.7742 MB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.4006, allocations: 45.38 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.4007, allocations: 68.31 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.4017, allocations: 0.6137 MB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4017, allocations: 7.938 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.4017, allocations: 20 kB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.4017, allocations: 12 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.4026, allocations: 0.5582 MB / 1.345 GB, free: 14.2 MB / 1.045 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.005067/0.4076, allocations: 3.248 MB / 1.348 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.4091, allocations: 0.8166 MB / 1.349 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/0.4096, allocations: 345.3 kB / 1.349 GB, free: 9.551 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.4097, allocations: 24.36 kB / 1.349 GB, free: 9.527 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4097, allocations: 42.94 kB / 1.349 GB, free: 9.477 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.4097, allocations: 0 / 1.349 GB, free: 9.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.001939/0.4116, allocations: 1.107 MB / 1.35 GB, free: 8.359 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4117, allocations: 55.41 kB / 1.351 GB, free: 8.293 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.4135, allocations: 1.239 MB / 1.352 GB, free: 7.043 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.4135, allocations: 41.7 kB / 1.352 GB, free: 6.996 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.414, allocations: 477.3 kB / 1.352 GB, free: 6.523 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.4142, allocations: 174.5 kB / 1.352 GB, free: 6.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.4144, allocations: 214.5 kB / 1.353 GB, free: 6.137 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4146, allocations: 353.9 kB / 1.353 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.4155, allocations: 0.6464 MB / 1.354 GB, free: 5.137 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.4166, allocations: 0.9708 MB / 1.354 GB, free: 4.023 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.4186, allocations: 1.586 MB / 1.356 GB, free: 2.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.4186, allocations: 11.94 kB / 1.356 GB, free: 2.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002804/0.4214, allocations: 1.78 MB / 1.358 GB, free: 500 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4215, allocations: 8 kB / 1.358 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.4215, allocations: 12 kB / 1.358 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.4218, allocations: 52.77 kB / 1.358 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.423, allocations: 263.7 kB / 1.358 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004912/0.4279, allocations: 6.737 MB / 1.365 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4292, allocations: 135 kB / 1.365 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.4293, allocations: 40 kB / 1.365 GB, free: 8.945 MB / 1.061 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.0005194/0.4298, allocations: 304 kB / 1.365 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.43, allocations: 127.1 kB / 1.365 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.4314, allocations: 0.8388 MB / 1.366 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4314, allocations: 8 kB / 1.366 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4314, allocations: 0 / 1.366 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4314, allocations: 7.984 kB / 1.366 GB, free: 7.648 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.4327, allocations: 0.8869 MB / 1.367 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4327, allocations: 0 / 1.367 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.4332, allocations: 115.8 kB / 1.367 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.4334, allocations: 28.84 kB / 1.367 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.4334, allocations: 19.98 kB / 1.367 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.4346, allocations: 1.334 MB / 1.368 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4346, allocations: 4.031 kB / 1.368 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.4366, allocations: 1.366 MB / 1.37 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.4371, allocations: 195 kB / 1.37 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.4373, allocations: 16 kB / 1.37 GB, free: 3.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.4379, allocations: 27.95 kB / 1.37 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.438, allocations: 35.88 kB / 1.37 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.438, allocations: 12 kB / 1.37 GB, free: 3.441 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001302/0.4393, allocations: 0.8389 MB / 1.371 GB, free: 2.598 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4393, allocations: 0 / 1.371 GB, free: 2.598 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001195/0.4405, allocations: 363.6 kB / 1.371 GB, free: 2.242 MB / 1.061 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.00271/0.4432, allocations: 2.096 MB / 1.373 GB, free: 116 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.446, allocations: 1.386 MB / 1.375 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.446, allocations: 0 / 1.375 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.4466, allocations: 478.1 kB / 1.375 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.4479, allocations: 220.1 kB / 1.375 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.4653, allocations: 11.61 MB / 1.387 GB, free: 1.984 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.4661, allocations: 1.102 MB / 1.388 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006317/0.4667, allocations: 207.1 kB / 1.388 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.4673, allocations: 399.3 kB / 1.388 GB, free: 264 kB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.4673, allocations: 0 / 1.388 GB, free: 264 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07032/0.5376, allocations: 24.89 MB / 1.413 GB, free: 7.691 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.35, allocations: 4.078 kB / 1.413 GB, free: 7.691 MB / 1.107 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.57805765606463]