Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.00128/0.00128, allocations: 119 kB / 17.17 MB, free: 5.906 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.001353/0.001353, allocations: 211 kB / 20.13 MB, free: 2.969 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.897/2.897, allocations: 0.49 GB / 0.7923 GB, free: 1.406 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.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="cs",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.002159/0.002159, allocations: 63.91 kB / 1.149 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.005, allocations: 176.1 MB / 1.321 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003151/1.008, allocations: 2.772 MB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003107/1.011, allocations: 2.867 MB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/1.011, allocations: 13.44 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/1.012, allocations: 0.4885 MB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004959/1.013, allocations: 264 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008971/1.014, allocations: 400.5 kB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001717/1.015, allocations: 1.531 MB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/1.016, allocations: 103.7 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008275/1.016, allocations: 488.9 kB / 1.33 GB, free: 19.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/1.017, allocations: 409.9 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/1.017, allocations: 47.97 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/1.017, allocations: 58.62 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/1.018, allocations: 281.9 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/1.018, allocations: 373.1 kB / 1.331 GB, free: 18.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/1.019, allocations: 0.9193 MB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.019, allocations: 0 / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/1.019, allocations: 0 / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.016e-05/1.019, allocations: 0 / 1.332 GB, free: 18.55 MB / 1.061 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.002341/1.021, allocations: 1.18 MB / 1.333 GB, free: 17.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/1.022, allocations: 13.7 kB / 1.333 GB, free: 17.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.768e-05/1.022, allocations: 14.56 kB / 1.333 GB, free: 17.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.864e-05/1.022, allocations: 57.56 kB / 1.333 GB, free: 17.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/1.022, allocations: 85.08 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.023, allocations: 0.6823 MB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/1.023, allocations: 26.81 kB / 1.334 GB, free: 17.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.023, allocations: 47.53 kB / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/1.024, allocations: 379 kB / 1.335 GB, free: 17.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/1.024, allocations: 1.25 kB / 1.335 GB, free: 17.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/1.024, allocations: 14.28 kB / 1.335 GB, free: 17.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/1.024, allocations: 6 kB / 1.335 GB, free: 17.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/1.025, allocations: 233.1 kB / 1.335 GB, free: 16.96 MB / 1.061 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.003684/1.028, allocations: 2.448 MB / 1.337 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.029, allocations: 394.3 kB / 1.338 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/1.03, allocations: 137.8 kB / 1.338 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/1.03, allocations: 1.219 kB / 1.338 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/1.03, allocations: 37.03 kB / 1.338 GB, free: 15.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/1.03, allocations: 0 / 1.338 GB, free: 15.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001087/1.031, allocations: 0.5381 MB / 1.338 GB, free: 14.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/1.031, allocations: 57.78 kB / 1.338 GB, free: 14.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.032, allocations: 0.9326 MB / 1.339 GB, free: 14.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/1.032, allocations: 35.67 kB / 1.339 GB, free: 14.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.032, allocations: 304.5 kB / 1.34 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/1.032, allocations: 78.61 kB / 1.34 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/1.032, allocations: 126.1 kB / 1.34 GB, free: 13.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.033, allocations: 383.4 kB / 1.34 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/1.033, allocations: 240.1 kB / 1.34 GB, free: 13.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/1.033, allocations: 0.5057 MB / 1.341 GB, free: 13.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/1.034, allocations: 0.6982 MB / 1.342 GB, free: 12.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.034, allocations: 3.094 kB / 1.342 GB, free: 12.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001392/1.036, allocations: 0.8174 MB / 1.342 GB, free: 12.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.036, allocations: 9.062 kB / 1.342 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.036, allocations: 10.45 kB / 1.342 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/1.036, allocations: 53.81 kB / 1.342 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/1.036, allocations: 145.7 kB / 1.343 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/1.037, allocations: 1.53 MB / 1.344 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009535/1.038, allocations: 129.1 kB / 1.344 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/1.038, allocations: 27 kB / 1.344 GB, free: 10.81 MB / 1.061 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.0005122/1.039, allocations: 340.7 kB / 1.344 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.039, allocations: 67.19 kB / 1.345 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/1.039, allocations: 66.78 kB / 1.345 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.039, allocations: 10.03 kB / 1.345 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.039, allocations: 0.9062 kB / 1.345 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.039, allocations: 5.953 kB / 1.345 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/1.04, allocations: 0.5833 MB / 1.345 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.04, allocations: 4.641 kB / 1.345 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/1.04, allocations: 53.48 kB / 1.345 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/1.04, allocations: 38.25 kB / 1.345 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/1.04, allocations: 9.594 kB / 1.345 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/1.041, allocations: 1.531 MB / 1.347 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.041, allocations: 3.938 kB / 1.347 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/1.042, allocations: 0.5602 MB / 1.347 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/1.043, allocations: 206.6 kB / 1.348 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/1.043, allocations: 14.3 kB / 1.348 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/1.043, allocations: 46.77 kB / 1.348 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/1.043, allocations: 15.22 kB / 1.348 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/1.043, allocations: 3.922 kB / 1.348 GB, free: 8.246 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001/1.044, allocations: 0.6684 MB / 1.348 GB, free: 7.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.044, allocations: 0 / 1.348 GB, free: 7.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007959/1.045, allocations: 182.7 kB / 1.348 GB, free: 7.961 MB / 1.061 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.000952/1.046, allocations: 1.117 MB / 1.35 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009535/1.047, allocations: 0.5604 MB / 1.35 GB, free: 6.898 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.047, allocations: 0 / 1.35 GB, free: 6.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/1.047, allocations: 244.2 kB / 1.35 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/1.048, allocations: 164.1 kB / 1.35 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/1.057, allocations: 6.955 MB / 1.357 GB, free: 2.934 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/1.058, allocations: 1.005 MB / 1.358 GB, free: 2.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005613/1.058, allocations: 185.2 kB / 1.358 GB, free: 2.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/1.059, allocations: 207.4 kB / 1.359 GB, free: 2.004 MB / 1.061 GB Notification: Performance of SimCode: time 1.242e-06/1.059, allocations: 1.219 kB / 1.359 GB, free: 2.004 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/1.107, allocations: 14.37 MB / 1.373 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.95, allocations: 8.828 kB / 1.373 GB, free: 0.8906 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.33443485700991]