Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001866/0.001866, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002358/0.002358, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.778/2.778, allocations: 476.7 MB / 0.7714 GB, free: 4.309 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.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="cs",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.002064/0.002064, allocations: 62.88 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004644/0.3209, allocations: 2.805 MB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004893/0.3258, allocations: 2.873 MB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004931/0.3263, allocations: 11.94 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.328, allocations: 0.5019 MB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009162/0.3289, allocations: 294.8 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3301, allocations: 420.2 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.3325, allocations: 1.576 MB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3328, allocations: 70.38 kB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009911/0.3337, allocations: 490.8 kB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007788/0.3345, allocations: 426.5 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.3346, allocations: 48 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3348, allocations: 63.98 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.3352, allocations: 287.1 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.3356, allocations: 374.2 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3367, allocations: 0.9302 MB / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3367, allocations: 4 kB / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3367, allocations: 0 / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.3367, allocations: 0 / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002367/0.3391, allocations: 1.103 MB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3391, allocations: 8.031 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.946e-05/0.3392, allocations: 8.688 kB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.3392, allocations: 58.73 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.3395, allocations: 88.45 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.3406, allocations: 0.6225 MB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.3407, allocations: 28.88 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.3407, allocations: 43.94 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.3414, allocations: 373.9 kB / 1.297 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3414, allocations: 7.922 kB / 1.297 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.3414, allocations: 8 kB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3414, allocations: 8 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.3419, allocations: 237.5 kB / 1.297 GB, free: 13.77 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.004317/0.3462, allocations: 2.428 MB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3473, allocations: 394.5 kB / 1.3 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.3476, allocations: 128.8 kB / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3476, allocations: 4 kB / 1.3 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3477, allocations: 30.56 kB / 1.3 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 2.945e-06/0.3477, allocations: 0 / 1.3 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001221/0.3489, allocations: 484.5 kB / 1.301 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3489, allocations: 51.41 kB / 1.301 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.3504, allocations: 0.9377 MB / 1.302 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.3504, allocations: 33.7 kB / 1.302 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.3508, allocations: 304.8 kB / 1.302 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3509, allocations: 79.31 kB / 1.302 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.3511, allocations: 122.3 kB / 1.302 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.3513, allocations: 382.7 kB / 1.303 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.3517, allocations: 241.1 kB / 1.303 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.3523, allocations: 0.5023 MB / 1.303 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3533, allocations: 0.6927 MB / 1.304 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3533, allocations: 4 kB / 1.304 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001526/0.3549, allocations: 0.8145 MB / 1.305 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3549, allocations: 8.844 kB / 1.305 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.3549, allocations: 12 kB / 1.305 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.3551, allocations: 56.75 kB / 1.305 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.3557, allocations: 135.8 kB / 1.305 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3572, allocations: 1.435 MB / 1.306 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00087/0.3581, allocations: 131.4 kB / 1.307 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.3581, allocations: 31.98 kB / 1.307 GB, free: 3.738 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0004604/0.3586, allocations: 337.5 kB / 1.307 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3587, allocations: 71.5 kB / 1.307 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.3589, allocations: 69.94 kB / 1.307 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3589, allocations: 7.938 kB / 1.307 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3589, allocations: 0 / 1.307 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3589, allocations: 3.984 kB / 1.307 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008207/0.3597, allocations: 0.5625 MB / 1.308 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3597, allocations: 0 / 1.308 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.36, allocations: 47.95 kB / 1.308 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.3602, allocations: 44.83 kB / 1.308 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.3602, allocations: 11.98 kB / 1.308 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.3616, allocations: 1.42 MB / 1.309 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3616, allocations: 7.969 kB / 1.309 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.3626, allocations: 0.5607 MB / 1.31 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.363, allocations: 131.5 kB / 1.31 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.3631, allocations: 15.92 kB / 1.31 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.3635, allocations: 43.92 kB / 1.31 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.3636, allocations: 15.97 kB / 1.31 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3636, allocations: 4 kB / 1.31 GB, free: 208 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001062/0.3647, allocations: 0.6668 MB / 1.311 GB, free: 15.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3647, allocations: 0 / 1.311 GB, free: 15.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007563/0.3654, allocations: 187.8 kB / 1.311 GB, free: 15.36 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.001257/0.3667, allocations: 1.11 MB / 1.312 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.3678, allocations: 0.5628 MB / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3678, allocations: 4.062 kB / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.3682, allocations: 250.4 kB / 1.313 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3693, allocations: 170 kB / 1.313 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.3803, allocations: 6.955 MB / 1.32 GB, free: 5.922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.3811, allocations: 1.007 MB / 1.321 GB, free: 4.887 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005088/0.3817, allocations: 180.5 kB / 1.321 GB, free: 4.711 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.382, allocations: 203.4 kB / 1.321 GB, free: 4.516 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/0.382, allocations: 8 kB / 1.321 GB, free: 4.508 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.4308, allocations: 14.56 MB / 1.335 GB, free: 6.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.56, allocations: 14.67 kB / 1.335 GB, free: 6.215 MB / 1.029 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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: 20.305930416972842]