Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0007823/0.0007823, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007953/0.0007953, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8674/0.8674, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.657/1.657, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9809 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.892e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004089/0.004117, allocations: 2.596 MB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.007224, allocations: 2.609 MB / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.00752, allocations: 15.88 kB / 0.986 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.008783, allocations: 485.9 kB / 0.9865 GB, free: 12.92 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005111/0.009294, allocations: 310.6 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.01006, allocations: 420.4 kB / 0.9872 GB, free: 12.21 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.01133, allocations: 1.594 MB / 0.9887 GB, free: 10.61 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.01152, allocations: 78.36 kB / 0.9888 GB, free: 10.53 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.01234, allocations: 0.6044 MB / 0.9894 GB, free: 9.922 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.01283, allocations: 403 kB / 0.9898 GB, free: 9.527 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.01291, allocations: 48 kB / 0.9898 GB, free: 9.48 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.01303, allocations: 63.94 kB / 0.9899 GB, free: 9.418 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.01324, allocations: 303.2 kB / 0.9902 GB, free: 9.121 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.01345, allocations: 247.4 kB / 0.9904 GB, free: 8.879 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.01412, allocations: 0.9076 MB / 0.9913 GB, free: 7.969 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01413, allocations: 0 / 0.9913 GB, free: 7.969 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01413, allocations: 0 / 0.9913 GB, free: 7.969 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.01415, allocations: 4 kB / 0.9913 GB, free: 7.965 MB / 0.948 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.001613/0.01576, allocations: 1.096 MB / 0.9924 GB, free: 6.832 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.0158, allocations: 12.03 kB / 0.9924 GB, free: 6.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.01586, allocations: 58.73 kB / 0.9924 GB, free: 6.754 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.01604, allocations: 88.41 kB / 0.9925 GB, free: 6.668 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.01677, allocations: 0.6296 MB / 0.9931 GB, free: 6.012 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.01679, allocations: 28.88 kB / 0.9932 GB, free: 5.984 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.01683, allocations: 36.38 kB / 0.9932 GB, free: 5.949 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.01721, allocations: 374.6 kB / 0.9936 GB, free: 5.562 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01722, allocations: 192 / 0.9936 GB, free: 5.562 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.01725, allocations: 15.94 kB / 0.9936 GB, free: 5.547 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.01725, allocations: 11.92 kB / 0.9936 GB, free: 5.535 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.01751, allocations: 237.8 kB / 0.9938 GB, free: 5.305 MB / 0.948 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.002/0.01951, allocations: 1.796 MB / 0.9956 GB, free: 3.441 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.02009, allocations: 386.5 kB / 0.9959 GB, free: 3.055 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.02021, allocations: 132.8 kB / 0.9961 GB, free: 2.922 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.02023, allocations: 4 kB / 0.9961 GB, free: 2.918 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.02025, allocations: 38.5 kB / 0.9961 GB, free: 2.871 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/0.02025, allocations: 0 / 0.9961 GB, free: 2.871 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.0006517/0.0209, allocations: 472.8 kB / 0.9965 GB, free: 2.402 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.02093, allocations: 55.41 kB / 0.9966 GB, free: 2.336 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.02175, allocations: 0.9415 MB / 0.9975 GB, free: 1.387 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.02177, allocations: 33.7 kB / 0.9976 GB, free: 1.348 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.02194, allocations: 304.8 kB / 0.9978 GB, free: 1.047 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.02201, allocations: 75.38 kB / 0.9979 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02212, allocations: 118.3 kB / 0.998 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02224, allocations: 382.8 kB / 0.9984 GB, free: 480 kB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.02247, allocations: 237.1 kB / 0.9986 GB, free: 240 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.0228, allocations: 0.51 MB / 0.9991 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.02333, allocations: 0.6927 MB / 0.9998 GB, free: 14.78 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.02333, allocations: 0 / 0.9998 GB, free: 14.78 MB / 0.9636 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000784/0.02412, allocations: 0.8246 MB / 1.001 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.02414, allocations: 11.94 kB / 1.001 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.02415, allocations: 8 kB / 1.001 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.02432, allocations: 56.81 kB / 1.001 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.02457, allocations: 139.8 kB / 1.001 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008515/0.02542, allocations: 1.435 MB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.02582, allocations: 127.4 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.02585, allocations: 28 kB / 1.002 GB, free: 12.03 MB / 0.9636 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.0002693/0.02612, allocations: 345.3 kB / 1.003 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.02618, allocations: 63.73 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.02624, allocations: 73.88 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02625, allocations: 0 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.02625, allocations: 4 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02625, allocations: 0 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.02665, allocations: 476.4 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.02665, allocations: 3.984 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.02678, allocations: 43.97 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.844e-05/0.02687, allocations: 40.81 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.02689, allocations: 15.94 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006959/0.02758, allocations: 1.416 MB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02758, allocations: 3.938 kB / 1.005 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.02806, allocations: 0.5659 MB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.02823, allocations: 131.5 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.02827, allocations: 16.14 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.02848, allocations: 43.92 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.02852, allocations: 15.97 kB / 1.006 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.02853, allocations: 7.938 kB / 1.006 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005741/0.02911, allocations: 0.6629 MB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02911, allocations: 0 / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004494/0.02956, allocations: 179.9 kB / 1.006 GB, free: 7.758 MB / 0.9636 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.0007016/0.03026, allocations: 1.117 MB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006104/0.03087, allocations: 0.5584 MB / 1.008 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03087, allocations: 0 / 1.008 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.03106, allocations: 246.5 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.03159, allocations: 178.5 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00617/0.03776, allocations: 6.838 MB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.03806, allocations: 404.8 kB / 1.015 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003291/0.03839, allocations: 184.5 kB / 1.016 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.03861, allocations: 204.4 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of SimCode: time 1.162e-06/0.03861, allocations: 0 / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.07005, allocations: 15.74 MB / 1.031 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.041, allocations: 6.125 kB / 1.031 GB, free: 14.26 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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: 10.919310466386378]