Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001481/0.001481, 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.001643/0.001643, allocations: 206.9 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 179] 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 2.962/2.962, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.001931/0.001931, allocations: 71.16 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3049, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004246/0.3091, allocations: 2.604 MB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.3133, allocations: 2.613 MB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.3135, allocations: 11.88 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.3149, allocations: 486.1 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000655/0.3156, allocations: 294.8 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000951/0.3165, allocations: 415 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3184, allocations: 1.571 MB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3186, allocations: 70.42 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.3194, allocations: 486.8 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006463/0.32, allocations: 438.5 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.3201, allocations: 48 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3203, allocations: 67.98 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.3206, allocations: 291.2 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.3209, allocations: 302.6 kB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009182/0.3218, allocations: 0.9341 MB / 1.374 GB, free: 3.449 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3218, allocations: 3.938 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3218, allocations: 0 / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.3218, allocations: 4 kB / 1.374 GB, free: 3.441 MB / 1.061 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.002019/0.3238, allocations: 1.096 MB / 1.375 GB, free: 2.312 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3239, allocations: 11.97 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.685e-05/0.324, allocations: 62.73 kB / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.3241, allocations: 80.42 kB / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.3252, allocations: 0.6227 MB / 1.376 GB, free: 1.508 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3252, allocations: 24.88 kB / 1.376 GB, free: 1.484 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.3253, allocations: 40.38 kB / 1.376 GB, free: 1.445 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.3259, allocations: 381.8 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3259, allocations: 0 / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.3259, allocations: 15.88 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3259, allocations: 8 kB / 1.376 GB, free: 1.027 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.3263, allocations: 237.4 kB / 1.376 GB, free: 0.7969 MB / 1.061 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.003313/0.3296, allocations: 1.803 MB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.3306, allocations: 382.5 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.3308, allocations: 135.4 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.3308, allocations: 3.938 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3308, allocations: 34.56 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.3308, allocations: 4 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0009197/0.3318, allocations: 466.1 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3318, allocations: 55.41 kB / 1.379 GB, free: 13.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.333, allocations: 0.9415 MB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3331, allocations: 37.7 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.3334, allocations: 304.8 kB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.3334, allocations: 75.31 kB / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.3336, allocations: 126.3 kB / 1.38 GB, free: 12.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3338, allocations: 386.7 kB / 1.381 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.3341, allocations: 237.1 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.3347, allocations: 0.4982 MB / 1.382 GB, free: 11.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008443/0.3355, allocations: 0.7005 MB / 1.382 GB, free: 10.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3355, allocations: 0 / 1.382 GB, free: 10.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001216/0.3367, allocations: 0.819 MB / 1.383 GB, free: 9.426 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3368, allocations: 8 kB / 1.383 GB, free: 9.418 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3368, allocations: 8 kB / 1.383 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.337, allocations: 57.53 kB / 1.383 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.3374, allocations: 143.7 kB / 1.383 GB, free: 9.211 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3386, allocations: 1.435 MB / 1.385 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.3393, allocations: 127.4 kB / 1.385 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.3393, allocations: 28 kB / 1.385 GB, free: 7.508 MB / 1.076 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.0003701/0.3397, allocations: 341.6 kB / 1.385 GB, free: 7.164 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.3398, allocations: 67.52 kB / 1.385 GB, free: 7.098 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.3399, allocations: 69.88 kB / 1.385 GB, free: 7.023 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3399, allocations: 0 / 1.385 GB, free: 7.023 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3399, allocations: 0 / 1.385 GB, free: 7.023 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3399, allocations: 4 kB / 1.385 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.3405, allocations: 480.3 kB / 1.386 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3405, allocations: 3.938 kB / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.3408, allocations: 51.91 kB / 1.386 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.3409, allocations: 40.81 kB / 1.386 GB, free: 6.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3409, allocations: 8 kB / 1.386 GB, free: 6.402 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.3421, allocations: 1.419 MB / 1.387 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3421, allocations: 0 / 1.387 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.3429, allocations: 0.5755 MB / 1.388 GB, free: 4.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.3432, allocations: 127.5 kB / 1.388 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.3433, allocations: 15.92 kB / 1.388 GB, free: 4.129 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.3437, allocations: 51.86 kB / 1.388 GB, free: 4.078 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.3437, allocations: 11.97 kB / 1.388 GB, free: 4.066 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3437, allocations: 8 kB / 1.388 GB, free: 4.059 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009108/0.3446, allocations: 0.659 MB / 1.389 GB, free: 3.402 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 1.389 GB, free: 3.402 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005909/0.3452, allocations: 187.9 kB / 1.389 GB, free: 3.219 MB / 1.076 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.001084/0.3463, allocations: 1.121 MB / 1.39 GB, free: 2.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009312/0.3472, allocations: 0.5573 MB / 1.39 GB, free: 1.504 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3472, allocations: 4 kB / 1.39 GB, free: 1.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.3476, allocations: 246.4 kB / 1.391 GB, free: 1.246 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.3484, allocations: 175.1 kB / 1.391 GB, free: 1.078 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00938/0.3578, allocations: 6.953 MB / 1.398 GB, free: 9.793 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3582, allocations: 412.8 kB / 1.398 GB, free: 9.363 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004585/0.3587, allocations: 184.5 kB / 1.398 GB, free: 9.184 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.359, allocations: 203.4 kB / 1.398 GB, free: 8.984 MB / 1.092 GB Notification: Performance of SimCode: time 9.22e-07/0.359, allocations: 0 / 1.398 GB, free: 8.984 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.4071, allocations: 15.62 MB / 1.414 GB, free: 9.699 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.25, allocations: 19.7 kB / 1.414 GB, free: 9.684 MB / 1.107 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.318998850882053]