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.001636/0.001636, allocations: 102 kB / 16.27 MB, free: 5.859 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.001832/0.001832, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.496/2.496, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 62.06 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3182, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004685/0.323, allocations: 2.75 MB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00464/0.3276, allocations: 2.777 MB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.328, allocations: 8 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.3296, allocations: 498 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007813/0.3305, allocations: 254.9 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3317, allocations: 407.4 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.3341, allocations: 1.517 MB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.3344, allocations: 142.3 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009021/0.3354, allocations: 478.8 kB / 1.027 GB, free: 1.812 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000765/0.3361, allocations: 406.6 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.3363, allocations: 55.94 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.3365, allocations: 52 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.3368, allocations: 263.3 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.3374, allocations: 374.1 kB / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.3386, allocations: 0.8958 MB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3386, allocations: 4 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3386, allocations: 4 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.3386, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.8106 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.002584/0.3412, allocations: 1.148 MB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3413, allocations: 8.031 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.3415, allocations: 80 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.3426, allocations: 0.6486 MB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.3427, allocations: 28.94 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.3428, allocations: 36.38 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.3434, allocations: 378.9 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3434, allocations: 3.938 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.3435, allocations: 8 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3435, allocations: 8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.344, allocations: 237.5 kB / 1.031 GB, free: 13.1 MB / 0.8106 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.004031/0.348, allocations: 2.459 MB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3491, allocations: 394.5 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.3493, allocations: 140.7 kB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3493, allocations: 4 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3494, allocations: 34.56 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.3494, allocations: 0 / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.001105/0.3505, allocations: 0.5378 MB / 1.035 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3506, allocations: 59.41 kB / 1.035 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.352, allocations: 0.9337 MB / 1.035 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.352, allocations: 37.7 kB / 1.036 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.3523, allocations: 304.4 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.3524, allocations: 63.05 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3526, allocations: 126.1 kB / 1.036 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3529, allocations: 378.7 kB / 1.036 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.3533, allocations: 244.9 kB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.3539, allocations: 0.4975 MB / 1.037 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.3548, allocations: 0.7052 MB / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.3549, allocations: 4 kB / 1.038 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001409/0.3563, allocations: 0.8096 MB / 1.039 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3563, allocations: 12 kB / 1.039 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3563, allocations: 8 kB / 1.039 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.3566, allocations: 53.27 kB / 1.039 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.3571, allocations: 147.7 kB / 1.039 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.3587, allocations: 1.542 MB / 1.04 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.3595, allocations: 123.2 kB / 1.04 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.3595, allocations: 28 kB / 1.04 GB, free: 2.805 MB / 0.8106 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.0004272/0.36, allocations: 337.5 kB / 1.041 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3601, allocations: 71.16 kB / 1.041 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.3602, allocations: 66 kB / 1.041 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3602, allocations: 4 kB / 1.041 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3602, allocations: 0 / 1.041 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3602, allocations: 0 / 1.041 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.3611, allocations: 0.583 MB / 1.041 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3611, allocations: 3.938 kB / 1.041 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3613, allocations: 51.89 kB / 1.041 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.3615, allocations: 44.83 kB / 1.042 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3615, allocations: 11.98 kB / 1.042 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.363, allocations: 1.515 MB / 1.043 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.363, allocations: 0 / 1.043 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.364, allocations: 0.5684 MB / 1.044 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.3643, allocations: 200.4 kB / 1.044 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.3644, allocations: 8 kB / 1.044 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.3648, allocations: 47.86 kB / 1.044 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3649, allocations: 19.88 kB / 1.044 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3649, allocations: 12.06 kB / 1.044 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001086/0.366, allocations: 0.659 MB / 1.044 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.366, allocations: 0 / 1.044 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008169/0.3668, allocations: 187.8 kB / 1.045 GB, free: 14.2 MB / 0.8262 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.0001996/0.367, allocations: 103.2 kB / 1.045 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.3683, allocations: 0.5951 MB / 1.045 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3683, allocations: 0 / 1.045 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.3686, allocations: 251.8 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.3695, allocations: 180.5 kB / 1.046 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.372, allocations: 1.566 MB / 1.047 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.3727, allocations: 1.002 MB / 1.048 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.3729, allocations: 39.44 kB / 1.048 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3729, allocations: 0 / 1.048 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.01815/0.3911, allocations: 12.26 MB / 1.06 GB, free: 14.16 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches