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.001945/0.001945, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.273 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.842/2.842, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 59.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7107/0.7128, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004722/0.7176, allocations: 2.733 MB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.7223, allocations: 2.791 MB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.7227, allocations: 7.938 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.7243, allocations: 486.1 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000583/0.725, allocations: 254.9 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.726, allocations: 403 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.7279, allocations: 1.528 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.7282, allocations: 142.3 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.7289, allocations: 462.8 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007317/0.7297, allocations: 410.6 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.7298, allocations: 48 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.7299, allocations: 52 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.7302, allocations: 267.2 kB / 1.027 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.7306, allocations: 374.2 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.7315, allocations: 0.9034 MB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7316, allocations: 0 / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7316, allocations: 0 / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.7316, allocations: 4 kB / 1.028 GB, free: 7.785 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.002202/0.7338, allocations: 1.144 MB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7338, allocations: 12.03 kB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.734, allocations: 76 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.735, allocations: 0.6564 MB / 1.03 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.735, allocations: 24.94 kB / 1.03 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/0.7351, allocations: 40.38 kB / 1.03 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.7357, allocations: 374.8 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.7358, allocations: 0 / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.7358, allocations: 16 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.7358, allocations: 4 kB / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.7362, allocations: 233.5 kB / 1.03 GB, free: 5.109 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.004193/0.7404, allocations: 2.459 MB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.7416, allocations: 398.5 kB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.7419, allocations: 144.7 kB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.7419, allocations: 0 / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.7419, allocations: 30.56 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.742, allocations: 0 / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001296/0.7433, allocations: 0.5431 MB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.7433, allocations: 51.41 kB / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.7447, allocations: 0.9376 MB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.7448, allocations: 33.7 kB / 1.035 GB, free: 268 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.7451, allocations: 304.4 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.7452, allocations: 63.09 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.7455, allocations: 130.2 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002988/0.7458, allocations: 382.7 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.7462, allocations: 240.9 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.7469, allocations: 0.5091 MB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.748, allocations: 0.6964 MB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.748, allocations: 4 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001314/0.7494, allocations: 0.8105 MB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.7494, allocations: 9.906 kB / 1.038 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.7494, allocations: 12 kB / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.7496, allocations: 52.81 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.7501, allocations: 147.7 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.7518, allocations: 1.542 MB / 1.04 GB, free: 10.96 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.7525, allocations: 123.2 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.7526, allocations: 31.98 kB / 1.04 GB, free: 10.81 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.0004524/0.753, allocations: 346.4 kB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.7531, allocations: 67.08 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.7533, allocations: 70 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7533, allocations: 3.938 kB / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7533, allocations: 0 / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7533, allocations: 0 / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.754, allocations: 0.5752 MB / 1.041 GB, free: 9.688 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7541, allocations: 4 kB / 1.041 GB, free: 9.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.7543, allocations: 55.84 kB / 1.041 GB, free: 9.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.7544, allocations: 40.81 kB / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.7545, allocations: 8 kB / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.7559, allocations: 1.523 MB / 1.042 GB, free: 7.918 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7559, allocations: 0 / 1.042 GB, free: 7.918 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.7569, allocations: 0.564 MB / 1.043 GB, free: 7.336 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.7571, allocations: 196.3 kB / 1.043 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.7572, allocations: 11.98 kB / 1.043 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.7576, allocations: 47.98 kB / 1.043 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.7577, allocations: 11.98 kB / 1.043 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.7577, allocations: 8 kB / 1.043 GB, free: 7.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009398/0.7586, allocations: 0.6629 MB / 1.044 GB, free: 6.391 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7587, allocations: 3.938 kB / 1.044 GB, free: 6.387 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006676/0.7593, allocations: 187.8 kB / 1.044 GB, free: 6.203 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.0001604/0.7595, allocations: 107.2 kB / 1.044 GB, free: 6.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.7606, allocations: 0.5939 MB / 1.045 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7606, allocations: 0 / 1.045 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.7609, allocations: 254.8 kB / 1.045 GB, free: 5.219 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/0.7618, allocations: 175.4 kB / 1.045 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.7644, allocations: 1.529 MB / 1.047 GB, free: 3.492 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.7651, allocations: 1.022 MB / 1.048 GB, free: 2.441 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000435/0.7655, allocations: 172.5 kB / 1.048 GB, free: 2.273 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.7657, allocations: 35.44 kB / 1.048 GB, free: 2.242 MB / 0.795 GB Notification: Performance of SimCode: time 7.02e-07/0.7657, allocations: 4 kB / 1.048 GB, free: 2.238 MB / 0.795 GB Notification: Performance of Templates: time 0.01703/0.7827, allocations: 8.415 MB / 1.056 GB, free: 9.938 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=480 -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