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.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.00122/0.00122, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001516/0.001516, allocations: 212 kB / 22.24 MB, free: 5.262 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.028/3.028, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001891/0.001891, allocations: 78.47 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3084, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005249/0.3136, allocations: 3.965 MB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004841/0.3185, allocations: 2.844 MB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.3188, allocations: 35.75 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009013/0.3197, allocations: 345.8 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.3211, allocations: 0.7 MB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.3225, allocations: 0.6612 MB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002008/0.3245, allocations: 1.902 MB / 1.374 GB, free: 3.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.3247, allocations: 122.3 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.3256, allocations: 0.6074 MB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009418/0.3265, allocations: 0.6771 MB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3267, allocations: 80 kB / 1.375 GB, free: 2.066 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.3274, allocations: 407.4 kB / 1.375 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.3279, allocations: 482.6 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.3284, allocations: 0.5053 MB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.33, allocations: 1.498 MB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.33, allocations: 0 / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/0.33, allocations: 0 / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.33, allocations: 4 kB / 1.378 GB, free: 15.18 MB / 1.076 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.002985/0.333, allocations: 1.606 MB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3331, allocations: 8.031 kB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.3332, allocations: 82.72 kB / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.3335, allocations: 148 kB / 1.38 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.3349, allocations: 0.7819 MB / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.335, allocations: 41.38 kB / 1.38 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3351, allocations: 68.36 kB / 1.38 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008875/0.336, allocations: 0.6138 MB / 1.381 GB, free: 11.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.336, allocations: 0 / 1.381 GB, free: 11.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.336, allocations: 19.94 kB / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.336, allocations: 12 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.3368, allocations: 0.5582 MB / 1.382 GB, free: 11.15 MB / 1.076 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.004279/0.3411, allocations: 2.302 MB / 1.384 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.3426, allocations: 0.815 MB / 1.385 GB, free: 7.965 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.3431, allocations: 349.3 kB / 1.385 GB, free: 7.621 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.3432, allocations: 20.36 kB / 1.385 GB, free: 7.602 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3432, allocations: 42.88 kB / 1.385 GB, free: 7.551 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.3432, allocations: 0 / 1.385 GB, free: 7.551 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.001883/0.3451, allocations: 1.113 MB / 1.386 GB, free: 6.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3451, allocations: 55.41 kB / 1.386 GB, free: 6.363 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.3469, allocations: 1.239 MB / 1.387 GB, free: 5.113 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/0.347, allocations: 41.7 kB / 1.387 GB, free: 5.066 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.3474, allocations: 473.2 kB / 1.388 GB, free: 4.598 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.3476, allocations: 174.5 kB / 1.388 GB, free: 4.426 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.3478, allocations: 218.5 kB / 1.388 GB, free: 4.207 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.348, allocations: 357.8 kB / 1.389 GB, free: 3.852 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008497/0.3488, allocations: 0.6542 MB / 1.389 GB, free: 3.195 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3499, allocations: 0.963 MB / 1.39 GB, free: 2.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.3518, allocations: 1.582 MB / 1.392 GB, free: 368 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3518, allocations: 4 kB / 1.392 GB, free: 364 kB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002732/0.3546, allocations: 1.788 MB / 1.394 GB, free: 14.56 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3546, allocations: 8 kB / 1.394 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.3546, allocations: 15.98 kB / 1.394 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.3548, allocations: 40.84 kB / 1.394 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.3559, allocations: 275.6 kB / 1.394 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/0.3604, allocations: 6.737 MB / 1.4 GB, free: 7.184 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.3614, allocations: 135 kB / 1.401 GB, free: 7.051 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.3615, allocations: 40 kB / 1.401 GB, free: 7.012 MB / 1.092 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.0004211/0.3619, allocations: 301.4 kB / 1.401 GB, free: 6.707 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.362, allocations: 119.1 kB / 1.401 GB, free: 6.59 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.3633, allocations: 0.8454 MB / 1.402 GB, free: 5.73 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3633, allocations: 4 kB / 1.402 GB, free: 5.727 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3633, allocations: 0 / 1.402 GB, free: 5.727 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3633, allocations: 7.984 kB / 1.402 GB, free: 5.719 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/0.3642, allocations: 0.7351 MB / 1.403 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3642, allocations: 0 / 1.403 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.3647, allocations: 115.8 kB / 1.403 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.3649, allocations: 32.84 kB / 1.403 GB, free: 4.797 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.3649, allocations: 19.98 kB / 1.403 GB, free: 4.777 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.3659, allocations: 1.334 MB / 1.404 GB, free: 3.328 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3659, allocations: 0 / 1.404 GB, free: 3.328 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3676, allocations: 1.37 MB / 1.405 GB, free: 1.941 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.3681, allocations: 199.2 kB / 1.406 GB, free: 1.746 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.3682, allocations: 19.98 kB / 1.406 GB, free: 1.727 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.3688, allocations: 31.91 kB / 1.406 GB, free: 1.695 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.3689, allocations: 31.94 kB / 1.406 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3689, allocations: 12.11 kB / 1.406 GB, free: 1.652 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001133/0.37, allocations: 0.831 MB / 1.406 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.37, allocations: 0 / 1.406 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009412/0.371, allocations: 371.6 kB / 1.407 GB, free: 464 kB / 1.092 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.002436/0.3734, allocations: 2.08 MB / 1.409 GB, free: 14.34 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002364/0.3758, allocations: 1.394 MB / 1.41 GB, free: 12.92 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3758, allocations: 256 / 1.41 GB, free: 12.92 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.3764, allocations: 470.1 kB / 1.411 GB, free: 12.45 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.3773, allocations: 225.2 kB / 1.411 GB, free: 12.23 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.3924, allocations: 11.61 MB / 1.422 GB, free: 212 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.393, allocations: 0.499 MB / 1.423 GB, free: 15.68 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005814/0.3936, allocations: 203.1 kB / 1.423 GB, free: 15.47 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.3941, allocations: 403.3 kB / 1.423 GB, free: 15.08 MB / 1.123 GB Notification: Performance of SimCode: time 1.292e-06/0.3941, allocations: 0 / 1.423 GB, free: 15.08 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/0.4598, allocations: 26.39 MB / 1.449 GB, free: 5.125 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.18, allocations: 9.25 kB / 1.449 GB, free: 5.117 MB / 1.139 GB " [Timeout remaining time 287] (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/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: 19.400550330989063]