Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001204/0.001204, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001509/0.001509, allocations: 225.2 kB / 22.25 MB, free: 5.254 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.793 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.278/3.278, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.ConductorMultiLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_12_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.001973/0.001973, allocations: 62.06 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3561, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003996/0.3601, allocations: 2.61 MB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.3641, allocations: 2.617 MB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.3643, allocations: 11.88 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.3657, allocations: 490.1 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006112/0.3663, allocations: 298.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.3672, allocations: 434.8 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001894/0.3691, allocations: 1.563 MB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.3693, allocations: 74.41 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007575/0.3701, allocations: 482.8 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006972/0.3708, allocations: 430.5 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.907e-05/0.3709, allocations: 48 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.371, allocations: 56 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.3713, allocations: 291.2 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.3717, allocations: 302.6 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009408/0.3726, allocations: 0.9341 MB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.3726, allocations: 3.984 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3726, allocations: 0 / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.3726, allocations: 0 / 1.336 GB, free: 6.91 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002218/0.3749, allocations: 1.103 MB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3749, allocations: 12.03 kB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/0.375, allocations: 62.72 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.3752, allocations: 84.47 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.3763, allocations: 0.6149 MB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.3764, allocations: 28.88 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.3764, allocations: 44.33 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.377, allocations: 377.8 kB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.377, allocations: 3.938 kB / 1.338 GB, free: 4.508 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.3771, allocations: 12 kB / 1.338 GB, free: 4.496 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3771, allocations: 4 kB / 1.338 GB, free: 4.492 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.3775, allocations: 241.5 kB / 1.339 GB, free: 4.254 MB / 1.029 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.003529/0.381, allocations: 1.795 MB / 1.34 GB, free: 2.391 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3821, allocations: 386.5 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.3823, allocations: 128.8 kB / 1.341 GB, free: 1.875 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.3823, allocations: 4 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3823, allocations: 46.48 kB / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3823, allocations: 0 / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009647/0.3833, allocations: 468 kB / 1.341 GB, free: 1.352 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3833, allocations: 59.41 kB / 1.341 GB, free: 1.281 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.3845, allocations: 0.9376 MB / 1.342 GB, free: 340 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.3846, allocations: 33.7 kB / 1.342 GB, free: 300 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.3849, allocations: 308.8 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.3849, allocations: 75.33 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.3851, allocations: 126.3 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.3853, allocations: 382.7 kB / 1.343 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.3857, allocations: 245 kB / 1.343 GB, free: 15.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.3863, allocations: 0.5021 MB / 1.344 GB, free: 14.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000848/0.3871, allocations: 0.6969 MB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3871, allocations: 4 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001266/0.3884, allocations: 0.8163 MB / 1.345 GB, free: 12.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3884, allocations: 8 kB / 1.345 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3884, allocations: 15.98 kB / 1.345 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.3886, allocations: 52.86 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.3891, allocations: 143.7 kB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.3906, allocations: 1.423 MB / 1.347 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.3913, allocations: 135.5 kB / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.3914, allocations: 28 kB / 1.347 GB, free: 10.96 MB / 1.045 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.000501/0.3919, allocations: 343.5 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.392, allocations: 71.45 kB / 1.348 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.3921, allocations: 65.94 kB / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3921, allocations: 4 kB / 1.348 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3921, allocations: 0 / 1.348 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3921, allocations: 0 / 1.348 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.3929, allocations: 476.3 kB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3929, allocations: 7.938 kB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.3932, allocations: 55.89 kB / 1.348 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.3933, allocations: 36.83 kB / 1.348 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3933, allocations: 11.98 kB / 1.348 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.3947, allocations: 1.416 MB / 1.35 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3947, allocations: 0 / 1.35 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/0.3955, allocations: 0.5676 MB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.3958, allocations: 135.5 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.3959, allocations: 12 kB / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.3963, allocations: 51.84 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.3963, allocations: 11.98 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3964, allocations: 7.938 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000918/0.3973, allocations: 0.6669 MB / 1.351 GB, free: 6.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3973, allocations: 4 kB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007012/0.398, allocations: 179.9 kB / 1.351 GB, free: 6.672 MB / 1.045 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.001263/0.3992, allocations: 1.116 MB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009937/0.4002, allocations: 0.5664 MB / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4002, allocations: 0 / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.4006, allocations: 239 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.4015, allocations: 170.7 kB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009327/0.4108, allocations: 6.952 MB / 1.36 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.4112, allocations: 412.8 kB / 1.36 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004757/0.4117, allocations: 180.5 kB / 1.361 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.4121, allocations: 207.4 kB / 1.361 GB, free: 12.44 MB / 1.061 GB Notification: Performance of SimCode: time 1.142e-06/0.4121, allocations: 0 / 1.361 GB, free: 12.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05333/0.4654, allocations: 15.74 MB / 1.376 GB, free: 13.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.67, allocations: 7.75 kB / 1.376 GB, free: 13.04 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.616861761023756]