Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001302/0.001302, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001479/0.001479, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.797 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.176/3.176, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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.002185/0.002185, allocations: 68.22 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3615, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005247/0.3668, allocations: 3.444 MB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004397/0.3711, allocations: 2.419 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004518/0.3716, allocations: 23.81 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.3724, allocations: 234.4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.3737, allocations: 0.5454 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3753, allocations: 0.5626 MB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.3771, allocations: 1.386 MB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.3773, allocations: 93.73 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.378, allocations: 454.5 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/0.3788, allocations: 494.1 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3789, allocations: 52 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.3791, allocations: 68 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.3796, allocations: 374.9 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.38, allocations: 386.1 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.381, allocations: 0.9413 MB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.381, allocations: 0 / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.381, allocations: 0 / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.381, allocations: 0 / 1.336 GB, free: 6.926 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.002466/0.3834, allocations: 1.212 MB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.3835, allocations: 12.03 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/0.3836, allocations: 70.66 kB / 1.337 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.3839, allocations: 112.3 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3851, allocations: 0.6065 MB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.3851, allocations: 41.02 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.3852, allocations: 68.08 kB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.3859, allocations: 395 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3859, allocations: 0 / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.3859, allocations: 16 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3859, allocations: 8 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.3864, allocations: 226.4 kB / 1.339 GB, free: 4.078 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.002996/0.3894, allocations: 1.852 MB / 1.341 GB, free: 2.145 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.3906, allocations: 470.1 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3909, allocations: 149.2 kB / 1.341 GB, free: 1.531 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3909, allocations: 4.172 kB / 1.341 GB, free: 1.527 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3909, allocations: 34.8 kB / 1.341 GB, free: 1.484 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.3909, allocations: 0 / 1.341 GB, free: 1.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.002229/0.3932, allocations: 1.075 MB / 1.342 GB, free: 380 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3932, allocations: 51.41 kB / 1.342 GB, free: 316 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.3946, allocations: 0.935 MB / 1.343 GB, free: 15.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.3946, allocations: 41.7 kB / 1.343 GB, free: 15.31 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.3949, allocations: 369.2 kB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.395, allocations: 123 kB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.3953, allocations: 166.6 kB / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3955, allocations: 390.8 kB / 1.344 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.3958, allocations: 229.8 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.3966, allocations: 0.6235 MB / 1.345 GB, free: 13.23 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/0.3998, allocations: 1.611 MB / 1.347 GB, free: 11.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.3998, allocations: 7.938 kB / 1.347 GB, free: 11.42 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001612/0.4014, allocations: 0.9041 MB / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4014, allocations: 12 kB / 1.348 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.4015, allocations: 12 kB / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.4017, allocations: 52.83 kB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.4024, allocations: 203.6 kB / 1.348 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.4037, allocations: 1.365 MB / 1.349 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.4046, allocations: 43.97 kB / 1.349 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.4047, allocations: 40 kB / 1.349 GB, free: 8.664 MB / 1.045 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * 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.0004931/0.4052, allocations: 314.3 kB / 1.35 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.4053, allocations: 91.53 kB / 1.35 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.4055, allocations: 76.52 kB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4055, allocations: 4 kB / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4055, allocations: 0 / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4055, allocations: 0 / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.4073, allocations: 1.017 MB / 1.351 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4073, allocations: 4 kB / 1.351 GB, free: 7.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.4077, allocations: 80.02 kB / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.4079, allocations: 36.83 kB / 1.351 GB, free: 6.973 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.4079, allocations: 8 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.409, allocations: 1.334 MB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.409, allocations: 4.031 kB / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4101, allocations: 0.6674 MB / 1.353 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.4104, allocations: 127.4 kB / 1.353 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.4105, allocations: 12.11 kB / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.411, allocations: 27.97 kB / 1.353 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.4111, allocations: 23.91 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.4111, allocations: 4.094 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009906/0.4121, allocations: 0.6317 MB / 1.354 GB, free: 3.992 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 0 / 1.354 GB, free: 3.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008973/0.413, allocations: 211.9 kB / 1.354 GB, free: 3.785 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.001385/0.4143, allocations: 1.204 MB / 1.355 GB, free: 2.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.4156, allocations: 0.6157 MB / 1.356 GB, free: 1.914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4156, allocations: 0 / 1.356 GB, free: 1.914 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.416, allocations: 262.5 kB / 1.356 GB, free: 1.645 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009206/0.4169, allocations: 173.4 kB / 1.356 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.4276, allocations: 7.453 MB / 1.363 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.428, allocations: 392.2 kB / 1.364 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004954/0.4285, allocations: 161.8 kB / 1.364 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.4289, allocations: 291.3 kB / 1.364 GB, free: 8.613 MB / 1.061 GB Notification: Performance of SimCode: time 1.593e-06/0.4289, allocations: 0 / 1.364 GB, free: 8.613 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06016/0.4891, allocations: 17.78 MB / 1.382 GB, free: 7.223 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.7, allocations: 1.625 kB / 1.382 GB, free: 7.223 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.42333738785237]