Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001501/0.001501, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001868/0.001868, allocations: 215.3 kB / 23.03 MB, free: 4.922 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.123/3.123, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 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.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001902/0.001902, allocations: 66.8 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004149/0.344, allocations: 2.596 MB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004218/0.3482, allocations: 2.593 MB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.3485, allocations: 15.88 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.35, allocations: 486.1 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007237/0.3507, allocations: 309 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3518, allocations: 426.9 kB / 1.352 GB, free: 9.551 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.3537, allocations: 1.571 MB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3539, allocations: 74.41 kB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006504/0.3546, allocations: 490.7 kB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.3552, allocations: 422.5 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.3552, allocations: 48 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.3554, allocations: 59.98 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.3558, allocations: 295.1 kB / 1.354 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.3561, allocations: 298.7 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009444/0.357, allocations: 0.9302 MB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.357, allocations: 4 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.357, allocations: 0 / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.3571, allocations: 0 / 1.356 GB, free: 5.379 MB / 1.045 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.002069/0.3591, allocations: 1.111 MB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3592, allocations: 8.031 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.402e-05/0.3592, allocations: 12.62 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.747e-05/0.3593, allocations: 58.72 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3595, allocations: 88.42 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3605, allocations: 0.6227 MB / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.3606, allocations: 28.88 kB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.3606, allocations: 40.12 kB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.3612, allocations: 373.9 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3612, allocations: 0 / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.3612, allocations: 12 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3612, allocations: 4 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.3616, allocations: 237.5 kB / 1.358 GB, free: 2.707 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.003281/0.3649, allocations: 1.795 MB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/0.3659, allocations: 394.4 kB / 1.36 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.3661, allocations: 128.8 kB / 1.36 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3661, allocations: 0 / 1.36 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3662, allocations: 38.56 kB / 1.36 GB, free: 280 kB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.3662, allocations: 0 / 1.36 GB, free: 280 kB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0009834/0.3671, allocations: 476 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3672, allocations: 59.34 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.3684, allocations: 0.9415 MB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.3684, allocations: 33.7 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.3687, allocations: 304.8 kB / 1.362 GB, free: 14.44 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.3688, allocations: 75.36 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3689, allocations: 122.3 kB / 1.362 GB, free: 14.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3691, allocations: 382.6 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.3695, allocations: 241.1 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.37, allocations: 0.5061 MB / 1.363 GB, free: 12.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008513/0.3709, allocations: 0.7009 MB / 1.364 GB, free: 12.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3709, allocations: 4 kB / 1.364 GB, free: 12.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001211/0.3721, allocations: 0.811 MB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3721, allocations: 8 kB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3721, allocations: 12 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.3723, allocations: 56.81 kB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.3728, allocations: 135.7 kB / 1.365 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.374, allocations: 1.439 MB / 1.366 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.3747, allocations: 127.4 kB / 1.367 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.009e-05/0.3747, allocations: 28 kB / 1.367 GB, free: 9.414 MB / 1.061 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.0003746/0.3751, allocations: 341.4 kB / 1.367 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.3752, allocations: 67.67 kB / 1.367 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.811e-05/0.3753, allocations: 69.94 kB / 1.367 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3753, allocations: 4 kB / 1.367 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3753, allocations: 0 / 1.367 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3753, allocations: 0 / 1.367 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.3759, allocations: 480.2 kB / 1.368 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3759, allocations: 0 / 1.368 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.3761, allocations: 51.89 kB / 1.368 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.3762, allocations: 40.83 kB / 1.368 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3763, allocations: 15.98 kB / 1.368 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.3774, allocations: 1.416 MB / 1.369 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3774, allocations: 3.938 kB / 1.369 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.3782, allocations: 0.5666 MB / 1.37 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.3785, allocations: 131.5 kB / 1.37 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.3785, allocations: 20.08 kB / 1.37 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3789, allocations: 47.92 kB / 1.37 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.379, allocations: 11.92 kB / 1.37 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.379, allocations: 11.98 kB / 1.37 GB, free: 5.969 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008442/0.3798, allocations: 0.6629 MB / 1.37 GB, free: 5.312 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3798, allocations: 0 / 1.37 GB, free: 5.312 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005921/0.3804, allocations: 179.9 kB / 1.371 GB, free: 5.137 MB / 1.061 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.001174/0.3816, allocations: 1.132 MB / 1.372 GB, free: 3.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008769/0.3825, allocations: 0.5583 MB / 1.372 GB, free: 3.406 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3825, allocations: 0 / 1.372 GB, free: 3.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.3828, allocations: 242.4 kB / 1.373 GB, free: 3.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.3836, allocations: 185.2 kB / 1.373 GB, free: 2.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008738/0.3923, allocations: 6.952 MB / 1.379 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.3928, allocations: 408.8 kB / 1.38 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004083/0.3932, allocations: 180.5 kB / 1.38 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.3935, allocations: 207.4 kB / 1.38 GB, free: 10.88 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/0.3935, allocations: 0 / 1.38 GB, free: 10.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.4375, allocations: 15.24 MB / 1.395 GB, free: 11.97 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.81, allocations: 13.59 kB / 1.395 GB, free: 11.96 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.402638437924907]