Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.159/3.159, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.8 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 173.9 MB / 1.304 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004585/0.3517, allocations: 2.761 MB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.3565, allocations: 2.796 MB / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.3568, allocations: 11.94 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3585, allocations: 0.4902 MB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.3594, allocations: 258.9 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3606, allocations: 407 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.3627, allocations: 1.532 MB / 1.312 GB, free: 9.301 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.363, allocations: 98.28 kB / 1.312 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000906/0.3639, allocations: 486.7 kB / 1.313 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.3646, allocations: 402.6 kB / 1.313 GB, free: 8.324 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.3648, allocations: 48 kB / 1.313 GB, free: 8.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.365, allocations: 48 kB / 1.313 GB, free: 8.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.3653, allocations: 271.2 kB / 1.313 GB, free: 7.965 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005376/0.3659, allocations: 378.2 kB / 1.314 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.3672, allocations: 0.9147 MB / 1.315 GB, free: 6.676 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.3672, allocations: 0 / 1.315 GB, free: 6.676 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3672, allocations: 0 / 1.315 GB, free: 6.676 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.054e-05/0.3672, allocations: 0 / 1.315 GB, free: 6.676 MB / 1.014 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.003391/0.3706, allocations: 1.167 MB / 1.316 GB, free: 5.457 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.3707, allocations: 8.625 kB / 1.316 GB, free: 5.449 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.3708, allocations: 58.73 kB / 1.316 GB, free: 5.383 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.3711, allocations: 84.41 kB / 1.316 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.3728, allocations: 0.6804 MB / 1.316 GB, free: 4.582 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.3729, allocations: 28.94 kB / 1.317 GB, free: 4.555 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.373, allocations: 36.38 kB / 1.317 GB, free: 4.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.3737, allocations: 382.6 kB / 1.317 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3737, allocations: 0 / 1.317 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.3737, allocations: 12 kB / 1.317 GB, free: 4.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3737, allocations: 8 kB / 1.317 GB, free: 4.102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.3742, allocations: 237.4 kB / 1.317 GB, free: 3.871 MB / 1.014 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.00489/0.3791, allocations: 2.459 MB / 1.32 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3802, allocations: 386.4 kB / 1.32 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.3804, allocations: 128.8 kB / 1.32 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3804, allocations: 8 kB / 1.32 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3804, allocations: 30.56 kB / 1.32 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 2.335e-06/0.3804, allocations: 0 / 1.32 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.00113/0.3816, allocations: 0.5363 MB / 1.321 GB, free: 96 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.3816, allocations: 51.41 kB / 1.321 GB, free: 32 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.383, allocations: 0.9416 MB / 1.322 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.3831, allocations: 37.7 kB / 1.322 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.3834, allocations: 300.7 kB / 1.322 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3835, allocations: 79.36 kB / 1.322 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.3837, allocations: 122.2 kB / 1.322 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.3839, allocations: 386.6 kB / 1.322 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.3843, allocations: 240.9 kB / 1.323 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.385, allocations: 0.5012 MB / 1.323 GB, free: 13.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009401/0.3859, allocations: 0.6946 MB / 1.324 GB, free: 12.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.3859, allocations: 4 kB / 1.324 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001446/0.3874, allocations: 0.8249 MB / 1.325 GB, free: 11.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.3874, allocations: 12 kB / 1.325 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3874, allocations: 8 kB / 1.325 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.3876, allocations: 56.81 kB / 1.325 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.3881, allocations: 139.8 kB / 1.325 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.3896, allocations: 1.547 MB / 1.326 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/0.3904, allocations: 123.4 kB / 1.326 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.3904, allocations: 28 kB / 1.327 GB, free: 9.57 MB / 1.029 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.0004675/0.3909, allocations: 345.3 kB / 1.327 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.391, allocations: 71.5 kB / 1.327 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.3911, allocations: 66 kB / 1.327 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3911, allocations: 4 kB / 1.327 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3911, allocations: 4.062 kB / 1.327 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3911, allocations: 3.938 kB / 1.327 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.3918, allocations: 0.583 MB / 1.328 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3918, allocations: 3.938 kB / 1.328 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.3921, allocations: 43.97 kB / 1.328 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.3922, allocations: 44.81 kB / 1.328 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.3923, allocations: 4 kB / 1.328 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.3936, allocations: 1.523 MB / 1.329 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3936, allocations: 4.062 kB / 1.329 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/0.3944, allocations: 0.5718 MB / 1.33 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.3948, allocations: 196.7 kB / 1.33 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.3948, allocations: 11.98 kB / 1.33 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.3952, allocations: 47.86 kB / 1.33 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3953, allocations: 15.98 kB / 1.33 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3953, allocations: 4 kB / 1.33 GB, free: 5.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009392/0.3962, allocations: 0.6629 MB / 1.331 GB, free: 5.133 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3962, allocations: 0 / 1.331 GB, free: 5.133 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000679/0.3969, allocations: 187.8 kB / 1.331 GB, free: 4.949 MB / 1.029 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.001218/0.3981, allocations: 1.119 MB / 1.332 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.3992, allocations: 0.5591 MB / 1.332 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3992, allocations: 1.875 kB / 1.332 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.3996, allocations: 246.5 kB / 1.333 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/0.4004, allocations: 171 kB / 1.333 GB, free: 2.809 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009715/0.4101, allocations: 6.935 MB / 1.34 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.4109, allocations: 1.014 MB / 1.341 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004702/0.4114, allocations: 176.5 kB / 1.341 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.4117, allocations: 207.4 kB / 1.341 GB, free: 10.12 MB / 1.045 GB Notification: Performance of SimCode: time 1.513e-06/0.4117, allocations: 0 / 1.341 GB, free: 10.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05002/0.4617, allocations: 14.27 MB / 1.355 GB, free: 12.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.37, allocations: 11.56 kB / 1.355 GB, free: 12.09 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.088860749732703]