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.001544/0.001544, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001745/0.001745, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.049/3.049, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.00289/0.00289, allocations: 66.19 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3512, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00598/0.3572, allocations: 3.784 MB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005183/0.3624, allocations: 2.567 MB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000961/0.3633, allocations: 23.81 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.3648, allocations: 262.3 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.3665, allocations: 0.5016 MB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.3682, allocations: 0.545 MB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.3707, allocations: 1.387 MB / 1.33 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.371, allocations: 101.2 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009921/0.372, allocations: 438.5 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3731, allocations: 494.1 kB / 1.331 GB, free: 9.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.3733, allocations: 56 kB / 1.331 GB, free: 9.215 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.3736, allocations: 68 kB / 1.331 GB, free: 9.148 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.3742, allocations: 386.9 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007967/0.375, allocations: 469.5 kB / 1.332 GB, free: 8.309 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.3762, allocations: 0.9529 MB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3762, allocations: 0 / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3762, allocations: 0 / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.3763, allocations: 0 / 1.332 GB, free: 7.352 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.002795/0.379, allocations: 1.311 MB / 1.334 GB, free: 5.984 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3791, allocations: 11.98 kB / 1.334 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.3792, allocations: 70.72 kB / 1.334 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.3795, allocations: 124.1 kB / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3806, allocations: 0.6723 MB / 1.335 GB, free: 5.062 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.3806, allocations: 41.03 kB / 1.335 GB, free: 5.023 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.3807, allocations: 64.11 kB / 1.335 GB, free: 4.961 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.3813, allocations: 403 kB / 1.335 GB, free: 4.535 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3814, allocations: 4 kB / 1.335 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.3814, allocations: 12 kB / 1.335 GB, free: 4.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3814, allocations: 19.98 kB / 1.335 GB, free: 4.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3818, allocations: 226.4 kB / 1.335 GB, free: 4.277 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.3853, allocations: 2.51 MB / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.3868, allocations: 0.522 MB / 1.338 GB, free: 1.055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.3871, allocations: 144.8 kB / 1.338 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3871, allocations: 8 kB / 1.338 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3871, allocations: 34.56 kB / 1.338 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.3871, allocations: 4 kB / 1.338 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001756/0.3889, allocations: 0.8864 MB / 1.339 GB, free: 15.89 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3889, allocations: 51.41 kB / 1.339 GB, free: 15.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.3903, allocations: 0.9388 MB / 1.34 GB, free: 14.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.3903, allocations: 41.7 kB / 1.34 GB, free: 14.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.3906, allocations: 369.2 kB / 1.341 GB, free: 14.47 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3908, allocations: 123 kB / 1.341 GB, free: 14.35 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.391, allocations: 170.6 kB / 1.341 GB, free: 14.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.3913, allocations: 394.7 kB / 1.341 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.3917, allocations: 245.8 kB / 1.342 GB, free: 13.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008234/0.3925, allocations: 0.6387 MB / 1.342 GB, free: 12.71 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3936, allocations: 0.8914 MB / 1.343 GB, free: 11.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.3936, allocations: 8 kB / 1.343 GB, free: 11.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001744/0.3954, allocations: 1.011 MB / 1.344 GB, free: 10.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.3954, allocations: 16 kB / 1.344 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3954, allocations: 15.94 kB / 1.344 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.3958, allocations: 122.4 kB / 1.344 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.3965, allocations: 199.7 kB / 1.344 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.4006, allocations: 4.469 MB / 1.349 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.4015, allocations: 115.2 kB / 1.349 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.4015, allocations: 44 kB / 1.349 GB, free: 5.184 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.0003389/0.4019, allocations: 270 kB / 1.349 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.402, allocations: 87.39 kB / 1.349 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.4022, allocations: 88.45 kB / 1.349 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4022, allocations: 8.062 kB / 1.349 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4022, allocations: 4 kB / 1.349 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4022, allocations: 0 / 1.349 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/0.4031, allocations: 0.6609 MB / 1.35 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4031, allocations: 0 / 1.35 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.4034, allocations: 63.88 kB / 1.35 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/0.4038, allocations: 102.5 kB / 1.35 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.4038, allocations: 12 kB / 1.35 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.4084, allocations: 4.457 MB / 1.355 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4084, allocations: 0 / 1.355 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.4099, allocations: 0.7365 MB / 1.355 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.4102, allocations: 216.3 kB / 1.355 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.4103, allocations: 8 kB / 1.355 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.4109, allocations: 23.97 kB / 1.356 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.411, allocations: 27.95 kB / 1.356 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.411, allocations: 11.94 kB / 1.356 GB, free: 13.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001074/0.4121, allocations: 0.6317 MB / 1.356 GB, free: 13.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 0 / 1.356 GB, free: 13.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001413/0.4135, allocations: 267.8 kB / 1.356 GB, free: 13.01 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.001645/0.4151, allocations: 1.296 MB / 1.358 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.4167, allocations: 0.904 MB / 1.359 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4167, allocations: 0 / 1.359 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.4174, allocations: 0.5081 MB / 1.359 GB, free: 10.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.4183, allocations: 183.4 kB / 1.359 GB, free: 10.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.4302, allocations: 7.854 MB / 1.367 GB, free: 1.617 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.4309, allocations: 0.9917 MB / 1.368 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004213/0.4313, allocations: 149.8 kB / 1.368 GB, free: 460 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.4317, allocations: 279.3 kB / 1.368 GB, free: 180 kB / 1.061 GB Notification: Performance of SimCode: time 9.62e-07/0.4317, allocations: 0 / 1.368 GB, free: 180 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/0.4984, allocations: 17.49 MB / 1.385 GB, free: 14.93 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.43, allocations: 12.89 kB / 1.385 GB, free: 14.93 MB / 1.092 GB " [Timeout remaining time 288] (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: 17.883004541974515]