Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001294/0.001294, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.001856/0.001856, allocations: 222.1 kB / 22.25 MB, free: 4.863 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.816 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.212/3.212, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 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.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.002161/0.002161, allocations: 70.89 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3621, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005221/0.3673, allocations: 3.461 MB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004611/0.372, allocations: 2.409 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000438/0.3724, allocations: 19.81 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.3732, allocations: 242.4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.3746, allocations: 0.5444 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3764, allocations: 0.5677 MB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.3788, allocations: 1.398 MB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.3792, allocations: 93.73 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3803, allocations: 442.6 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3813, allocations: 470.1 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.3815, allocations: 56 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.3819, allocations: 71.98 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006675/0.3825, allocations: 398.8 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006251/0.3832, allocations: 394.1 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.3845, allocations: 0.9608 MB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3845, allocations: 0 / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3845, allocations: 0 / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.3845, allocations: 0 / 1.336 GB, free: 6.848 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002567/0.3871, allocations: 1.243 MB / 1.337 GB, free: 5.566 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3871, allocations: 11.97 kB / 1.337 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.176e-05/0.3872, allocations: 70.72 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.3875, allocations: 104.3 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.3887, allocations: 0.6182 MB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.3888, allocations: 41.03 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.3889, allocations: 60.08 kB / 1.338 GB, free: 4.637 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.3895, allocations: 414.9 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3895, allocations: 0 / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3895, allocations: 16 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3896, allocations: 12 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.39, allocations: 234.4 kB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.3931, allocations: 1.883 MB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.3946, allocations: 0.5236 MB / 1.341 GB, free: 1.449 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.3948, allocations: 148.8 kB / 1.341 GB, free: 1.301 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3948, allocations: 0 / 1.341 GB, free: 1.301 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3949, allocations: 38.56 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.3949, allocations: 0 / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001659/0.3965, allocations: 0.661 MB / 1.342 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3966, allocations: 59.41 kB / 1.342 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3979, allocations: 0.9349 MB / 1.343 GB, free: 15.56 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.3979, allocations: 37.7 kB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.3982, allocations: 373.2 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3984, allocations: 119 kB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.3986, allocations: 174.6 kB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3988, allocations: 390.7 kB / 1.344 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.3992, allocations: 245.8 kB / 1.344 GB, free: 14.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.3999, allocations: 0.6391 MB / 1.345 GB, free: 13.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.4011, allocations: 0.8957 MB / 1.346 GB, free: 12.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.4011, allocations: 8 kB / 1.346 GB, free: 12.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001755/0.4029, allocations: 1.019 MB / 1.347 GB, free: 11.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.4029, allocations: 12 kB / 1.347 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.4029, allocations: 28.03 kB / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.4034, allocations: 122.4 kB / 1.347 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.4041, allocations: 183.7 kB / 1.347 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.4078, allocations: 4.148 MB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4089, allocations: 123.5 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.4089, allocations: 48 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003878/0.4093, allocations: 277.7 kB / 1.352 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4095, allocations: 83.44 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.4096, allocations: 80.53 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4096, allocations: 4 kB / 1.352 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4096, allocations: 0 / 1.352 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4096, allocations: 3.984 kB / 1.352 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/0.4104, allocations: 0.5236 MB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4104, allocations: 0 / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.4107, allocations: 63.89 kB / 1.352 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/0.4111, allocations: 102.5 kB / 1.353 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4111, allocations: 8.141 kB / 1.353 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003535/0.4146, allocations: 4.143 MB / 1.357 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4146, allocations: 0 / 1.357 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.4158, allocations: 0.7318 MB / 1.357 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.4162, allocations: 139.2 kB / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4163, allocations: 8 kB / 1.357 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.4168, allocations: 23.97 kB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.4169, allocations: 32 kB / 1.358 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4169, allocations: 8 kB / 1.358 GB, free: 15.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009064/0.4178, allocations: 0.6278 MB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4178, allocations: 0 / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008941/0.4187, allocations: 267.8 kB / 1.358 GB, free: 14.72 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.001506/0.4202, allocations: 1.296 MB / 1.36 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.4218, allocations: 0.905 MB / 1.361 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4218, allocations: 0 / 1.361 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006998/0.4225, allocations: 0.5161 MB / 1.361 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.4235, allocations: 171.5 kB / 1.361 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.435, allocations: 7.849 MB / 1.369 GB, free: 3.332 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.4355, allocations: 392.4 kB / 1.369 GB, free: 2.922 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004557/0.4359, allocations: 153.8 kB / 1.369 GB, free: 2.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.4363, allocations: 283.3 kB / 1.37 GB, free: 2.492 MB / 1.061 GB Notification: Performance of SimCode: time 1.233e-06/0.4363, allocations: 0 / 1.37 GB, free: 2.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/0.4993, allocations: 19.16 MB / 1.388 GB, free: 15.73 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.87, allocations: 4.062 kB / 1.388 GB, free: 15.72 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.657890147995204]