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.001319/0.001319, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001587/0.001587, allocations: 220.8 kB / 22.26 MB, free: 5.125 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 8.004 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.213/3.213, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.002133/0.002133, allocations: 71.22 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3755, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004973/0.3805, allocations: 2.802 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004995/0.3854, allocations: 2.87 MB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.3859, allocations: 15.88 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.3877, allocations: 0.5058 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009832/0.3887, allocations: 299.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.39, allocations: 429.7 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.3929, allocations: 1.563 MB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.3932, allocations: 75.83 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.3946, allocations: 494.7 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.3956, allocations: 426.5 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.3958, allocations: 48 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.3961, allocations: 52 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.3965, allocations: 295.1 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007178/0.3972, allocations: 374.2 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.3987, allocations: 0.9224 MB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3987, allocations: 4 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3987, allocations: 4 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.077e-05/0.3988, allocations: 0 / 1.337 GB, free: 6.82 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.003258/0.402, allocations: 1.103 MB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4021, allocations: 12.02 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.4022, allocations: 54.73 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.4025, allocations: 80.47 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.4041, allocations: 0.6266 MB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.4041, allocations: 24.88 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.4043, allocations: 44.33 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.405, allocations: 377.8 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.405, allocations: 3.938 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.405, allocations: 12 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4051, allocations: 4 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.4056, allocations: 233.5 kB / 1.339 GB, free: 4.176 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.004957/0.4105, allocations: 2.432 MB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4116, allocations: 390.4 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.4119, allocations: 128.8 kB / 1.342 GB, free: 1.039 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.4119, allocations: 0 / 1.342 GB, free: 1.039 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4119, allocations: 38.56 kB / 1.342 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.4119, allocations: 3.938 kB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001181/0.4131, allocations: 479.7 kB / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.4131, allocations: 59.39 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.4147, allocations: 0.9338 MB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.4147, allocations: 33.7 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.415, allocations: 304.8 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4151, allocations: 79.31 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.4153, allocations: 122.3 kB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4155, allocations: 390.6 kB / 1.344 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.4159, allocations: 245 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/0.4165, allocations: 0.5021 MB / 1.345 GB, free: 13.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.4175, allocations: 0.6962 MB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.4175, allocations: 4 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001431/0.4189, allocations: 0.8159 MB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4189, allocations: 12 kB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4189, allocations: 8 kB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.4192, allocations: 57.33 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.4197, allocations: 143.7 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.4211, allocations: 1.431 MB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.4219, allocations: 127.4 kB / 1.348 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.4219, allocations: 28 kB / 1.348 GB, free: 10.12 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.0004544/0.4224, allocations: 344 kB / 1.349 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4226, allocations: 63.52 kB / 1.349 GB, free: 9.715 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.4227, allocations: 77.97 kB / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4227, allocations: 0 / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4227, allocations: 0 / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4227, allocations: 3.984 kB / 1.349 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/0.4235, allocations: 0.5587 MB / 1.349 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4235, allocations: 3.938 kB / 1.349 GB, free: 9.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.4238, allocations: 47.89 kB / 1.349 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.4239, allocations: 48.81 kB / 1.35 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.424, allocations: 4 kB / 1.35 GB, free: 8.922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.4252, allocations: 1.42 MB / 1.351 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4252, allocations: 0 / 1.351 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.4262, allocations: 0.5675 MB / 1.351 GB, free: 6.797 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.4265, allocations: 127.5 kB / 1.352 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4266, allocations: 12.06 kB / 1.352 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.4271, allocations: 51.84 kB / 1.352 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.4271, allocations: 11.98 kB / 1.352 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.4271, allocations: 4 kB / 1.352 GB, free: 6.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001027/0.4282, allocations: 0.6668 MB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4282, allocations: 0 / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007593/0.4289, allocations: 187.8 kB / 1.352 GB, free: 5.746 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.001277/0.4302, allocations: 1.117 MB / 1.354 GB, free: 4.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.4312, allocations: 0.5586 MB / 1.354 GB, free: 4.031 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.4312, allocations: 0 / 1.354 GB, free: 4.031 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.4316, allocations: 243.1 kB / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/0.4325, allocations: 177.8 kB / 1.355 GB, free: 3.613 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.443, allocations: 6.96 MB / 1.361 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/0.4438, allocations: 1.007 MB / 1.362 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004894/0.4442, allocations: 176.5 kB / 1.362 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.4446, allocations: 211.4 kB / 1.363 GB, free: 10.9 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/0.4446, allocations: 0 / 1.363 GB, free: 10.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05582/0.5005, allocations: 14.54 MB / 1.377 GB, free: 12.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.27, allocations: 10.14 kB / 1.377 GB, free: 12.62 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: 20.14751371787861]