Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 198.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.918/2.918, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.6889, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00446/0.6934, allocations: 2.784 MB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.6983, allocations: 2.795 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.6987, allocations: 11.94 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.7003, allocations: 466.3 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005544/0.701, allocations: 243 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/0.7019, allocations: 327.3 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002226/0.7041, allocations: 1.719 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.7044, allocations: 129.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007182/0.7051, allocations: 398.8 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.7058, allocations: 402.5 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/0.7058, allocations: 24 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.706, allocations: 28 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.7062, allocations: 231.3 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.7066, allocations: 334.2 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008788/0.7075, allocations: 0.88 MB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7075, allocations: 3.938 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7075, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.7076, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 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.002256/0.7098, allocations: 1.15 MB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.7099, allocations: 16.02 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.71, allocations: 80 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.7111, allocations: 0.6525 MB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.7111, allocations: 24.94 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.7112, allocations: 40.38 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.7118, allocations: 374.8 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.7119, allocations: 4 kB / 1.029 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.7119, allocations: 12 kB / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.7119, allocations: 4 kB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.7123, allocations: 233.5 kB / 1.03 GB, free: 5.352 MB / 0.7794 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.003953/0.7163, allocations: 2.451 MB / 1.032 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.7174, allocations: 402.5 kB / 1.032 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.7176, allocations: 136.7 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.7177, allocations: 7.984 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.7177, allocations: 34.56 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.7177, allocations: 0 / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001083/0.7188, allocations: 0.5399 MB / 1.033 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.7188, allocations: 51.41 kB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.7201, allocations: 0.9337 MB / 1.034 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.7202, allocations: 41.64 kB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.7205, allocations: 304.4 kB / 1.034 GB, free: 208 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.7206, allocations: 63.09 kB / 1.034 GB, free: 144 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.7208, allocations: 130.2 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.721, allocations: 386.7 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.7214, allocations: 240.9 kB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.722, allocations: 0.4974 MB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.7229, allocations: 0.7003 MB / 1.036 GB, free: 13.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7229, allocations: 4 kB / 1.036 GB, free: 13.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001371/0.7243, allocations: 0.8148 MB / 1.037 GB, free: 13.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.7243, allocations: 8.844 kB / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.7244, allocations: 8 kB / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.7246, allocations: 56.81 kB / 1.037 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.7251, allocations: 135.8 kB / 1.037 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.7265, allocations: 1.436 MB / 1.039 GB, free: 11.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.7272, allocations: 127.2 kB / 1.039 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.7272, allocations: 28 kB / 1.039 GB, free: 11.18 MB / 0.795 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.0004324/0.7277, allocations: 349.4 kB / 1.039 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.7278, allocations: 63.16 kB / 1.039 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.7279, allocations: 70 kB / 1.039 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.7279, allocations: 11.92 kB / 1.039 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7279, allocations: 0 / 1.039 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7279, allocations: 0 / 1.039 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.7287, allocations: 0.5791 MB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7287, allocations: 0 / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.7289, allocations: 43.97 kB / 1.04 GB, free: 10 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.7291, allocations: 52.75 kB / 1.04 GB, free: 9.949 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.7291, allocations: 8 kB / 1.04 GB, free: 9.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.7304, allocations: 1.416 MB / 1.041 GB, free: 8.391 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7305, allocations: 0 / 1.041 GB, free: 8.391 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.7313, allocations: 0.5671 MB / 1.042 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.7316, allocations: 196.3 kB / 1.042 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.03e-05/0.7317, allocations: 12.08 kB / 1.042 GB, free: 7.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.7321, allocations: 55.83 kB / 1.042 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.7322, allocations: 7.984 kB / 1.042 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.7322, allocations: 8 kB / 1.042 GB, free: 7.512 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009698/0.7332, allocations: 0.6629 MB / 1.043 GB, free: 6.855 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7332, allocations: 0 / 1.043 GB, free: 6.855 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007374/0.7339, allocations: 183.8 kB / 1.043 GB, free: 6.676 MB / 0.795 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.0001916/0.7341, allocations: 111.7 kB / 1.043 GB, free: 6.555 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.7352, allocations: 0.5627 MB / 1.044 GB, free: 5.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7352, allocations: 3.938 kB / 1.044 GB, free: 5.977 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.7356, allocations: 250.5 kB / 1.044 GB, free: 5.719 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009568/0.7365, allocations: 178.1 kB / 1.044 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.7393, allocations: 1.699 MB / 1.046 GB, free: 3.828 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/0.74, allocations: 1.01 MB / 1.047 GB, free: 2.789 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004766/0.7405, allocations: 188.5 kB / 1.047 GB, free: 2.605 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.7407, allocations: 35.44 kB / 1.047 GB, free: 2.574 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/0.7407, allocations: 3.938 kB / 1.047 GB, free: 2.57 MB / 0.795 GB Notification: Performance of Templates: time 0.01614/0.7568, allocations: 8.094 MB / 1.055 GB, free: 10.58 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches