Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001681/0.001681, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.75 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004583/0.2749, allocations: 3.719 MB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004001/0.2789, allocations: 2.51 MB / 0.9563 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.2794, allocations: 15.94 kB / 0.9564 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.2802, allocations: 250.3 kB / 0.9566 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.2813, allocations: 0.4899 MB / 0.9571 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2826, allocations: 0.5377 MB / 0.9576 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.284, allocations: 1.363 MB / 0.9589 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.2843, allocations: 153 kB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006377/0.2849, allocations: 438.5 kB / 0.9595 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.2855, allocations: 494.1 kB / 0.96 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.816e-05/0.2856, allocations: 52 kB / 0.96 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.2858, allocations: 60 kB / 0.9601 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.2861, allocations: 347 kB / 0.9604 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.2865, allocations: 457.6 kB / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.2872, allocations: 0.899 MB / 0.9617 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2873, allocations: 0 / 0.9617 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2873, allocations: 0 / 0.9617 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.2873, allocations: 0 / 0.9617 GB, free: 13.09 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002064/0.2894, allocations: 1.249 MB / 0.9629 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2894, allocations: 8.031 kB / 0.9629 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.2896, allocations: 103.7 kB / 0.963 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.2905, allocations: 0.6442 MB / 0.9637 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.2905, allocations: 37.03 kB / 0.9637 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.68e-05/0.2906, allocations: 60.28 kB / 0.9638 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.2912, allocations: 410.8 kB / 0.9642 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2912, allocations: 0 / 0.9642 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.2912, allocations: 12 kB / 0.9642 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2912, allocations: 8 kB / 0.9642 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.2916, allocations: 230.4 kB / 0.9644 GB, free: 10.21 MB / 0.7481 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.002778/0.2944, allocations: 2.494 MB / 0.9668 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.2956, allocations: 495.1 kB / 0.9673 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.2959, allocations: 153.2 kB / 0.9674 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2959, allocations: 8.172 kB / 0.9675 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2959, allocations: 34.8 kB / 0.9675 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.2959, allocations: 0 / 0.9675 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.001981/0.2979, allocations: 1.211 MB / 0.9687 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.298, allocations: 55.41 kB / 0.9687 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2991, allocations: 0.9192 MB / 0.9696 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.2991, allocations: 41.7 kB / 0.9697 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.2994, allocations: 364.8 kB / 0.97 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/0.2995, allocations: 118.4 kB / 0.9701 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.2997, allocations: 166.6 kB / 0.9703 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2999, allocations: 390.8 kB / 0.9707 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.3002, allocations: 229.8 kB / 0.9709 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.3008, allocations: 0.6231 MB / 0.9715 GB, free: 2.418 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.3037, allocations: 1.754 MB / 0.9732 GB, free: 440 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.3037, allocations: 8 kB / 0.9732 GB, free: 432 kB / 0.7481 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001502/0.3052, allocations: 0.9069 MB / 0.9741 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3053, allocations: 12.84 kB / 0.9741 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.3053, allocations: 12 kB / 0.9741 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3055, allocations: 56.77 kB / 0.9742 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/0.3061, allocations: 203.7 kB / 0.9744 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.3073, allocations: 1.476 MB / 0.9758 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.3081, allocations: 36.14 kB / 0.9758 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.3082, allocations: 44 kB / 0.9759 GB, free: 13.52 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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.0004024/0.3086, allocations: 304.9 kB / 0.9762 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.3088, allocations: 78.97 kB / 0.9762 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.309, allocations: 76.47 kB / 0.9763 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.309, allocations: 7.984 kB / 0.9763 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.309, allocations: 0 / 0.9763 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.309, allocations: 7.984 kB / 0.9763 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.3108, allocations: 1.134 MB / 0.9774 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3108, allocations: 0 / 0.9774 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.3112, allocations: 92 kB / 0.9775 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.3113, allocations: 32.83 kB / 0.9776 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3114, allocations: 8 kB / 0.9776 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3124, allocations: 1.433 MB / 0.979 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3124, allocations: 4.031 kB / 0.979 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.3133, allocations: 0.6548 MB / 0.9796 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.3136, allocations: 196 kB / 0.9798 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3138, allocations: 12 kB / 0.9798 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.3142, allocations: 19.97 kB / 0.9798 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.3143, allocations: 23.97 kB / 0.9798 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3143, allocations: 12 kB / 0.9799 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008268/0.3151, allocations: 0.6161 MB / 0.9805 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.463e-06/0.3152, allocations: 0 / 0.9805 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007624/0.3159, allocations: 207.9 kB / 0.9807 GB, free: 8.355 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001263/0.3161, allocations: 119.6 kB / 0.9808 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.3173, allocations: 0.6805 MB / 0.9814 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3173, allocations: 0.5625 kB / 0.9814 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.3177, allocations: 262.5 kB / 0.9817 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.3185, allocations: 178.1 kB / 0.9819 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.3211, allocations: 1.681 MB / 0.9835 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.3216, allocations: 0.9875 MB / 0.9845 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3218, allocations: 51.44 kB / 0.9845 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of SimCode: time 3.51e-07/0.3218, allocations: 0 / 0.9845 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of Templates: time 0.01692/0.3387, allocations: 12.08 MB / 0.9963 GB, free: 8.254 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches