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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001584/0.001584, allocations: 99.97 kB / 16.35 MB, free: 5.879 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.00178/0.00178, allocations: 198.5 kB / 17.3 MB, free: 5.52 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.519/1.519, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.23 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.275, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004758/0.2798, allocations: 3.73 MB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.284, allocations: 2.498 MB / 0.9572 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.2845, allocations: 15.88 kB / 0.9572 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.2852, allocations: 254.4 kB / 0.9574 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.2863, allocations: 0.4976 MB / 0.9579 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.2877, allocations: 0.5339 MB / 0.9584 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.2892, allocations: 1.367 MB / 0.9598 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.2894, allocations: 153.1 kB / 0.9599 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005592/0.29, allocations: 446.4 kB / 0.9604 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.2906, allocations: 478.1 kB / 0.9608 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.142e-05/0.2907, allocations: 52 kB / 0.9609 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2909, allocations: 56 kB / 0.9609 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.2912, allocations: 351 kB / 0.9612 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.2917, allocations: 461.6 kB / 0.9617 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008227/0.2925, allocations: 0.9107 MB / 0.9626 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2925, allocations: 0 / 0.9626 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2925, allocations: 7.984 kB / 0.9626 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.2925, allocations: 0 / 0.9626 GB, free: 12.28 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.002143/0.2947, allocations: 1.241 MB / 0.9638 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2947, allocations: 8.031 kB / 0.9638 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.2949, allocations: 111.7 kB / 0.9639 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2959, allocations: 0.652 MB / 0.9645 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.296, allocations: 45.03 kB / 0.9646 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-05/0.2961, allocations: 60.28 kB / 0.9646 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.2966, allocations: 398.9 kB / 0.965 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2967, allocations: 7.938 kB / 0.965 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.2967, allocations: 23.88 kB / 0.9651 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.2967, allocations: 8 kB / 0.9651 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.2971, allocations: 222.4 kB / 0.9653 GB, free: 9.387 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.002952/0.3001, allocations: 2.49 MB / 0.9677 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.3014, allocations: 495.1 kB / 0.9682 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3016, allocations: 149.2 kB / 0.9683 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3017, allocations: 240 / 0.9683 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3017, allocations: 42.8 kB / 0.9684 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.3017, allocations: 0 / 0.9684 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.001987/0.3037, allocations: 1.195 MB / 0.9695 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3037, allocations: 59.34 kB / 0.9696 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3049, allocations: 0.9231 MB / 0.9705 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.3049, allocations: 41.7 kB / 0.9705 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.3052, allocations: 364.8 kB / 0.9709 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.361e-05/0.3053, allocations: 114.4 kB / 0.971 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.3055, allocations: 166.6 kB / 0.9711 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3057, allocations: 398.7 kB / 0.9715 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3061, allocations: 225.8 kB / 0.9717 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.3067, allocations: 0.6154 MB / 0.9723 GB, free: 1.617 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.002841/0.3095, allocations: 1.773 MB / 0.9741 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3095, allocations: 4 kB / 0.9741 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001313/0.3108, allocations: 0.9032 MB / 0.975 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3109, allocations: 12 kB / 0.975 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.3109, allocations: 12 kB / 0.975 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.3111, allocations: 61.33 kB / 0.975 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.3117, allocations: 203.7 kB / 0.9752 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.3129, allocations: 1.468 MB / 0.9767 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.3135, allocations: 39.98 kB / 0.9767 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.3136, allocations: 40 kB / 0.9767 GB, free: 12.72 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.0003582/0.314, allocations: 302.9 kB / 0.977 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3141, allocations: 82.95 kB / 0.9771 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3142, allocations: 84.47 kB / 0.9772 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3142, allocations: 7.938 kB / 0.9772 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3142, allocations: 0 / 0.9772 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3142, allocations: 3.984 kB / 0.9772 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.3159, allocations: 1.134 MB / 0.9783 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3159, allocations: 0 / 0.9783 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.3163, allocations: 83.88 kB / 0.9784 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.3164, allocations: 36.95 kB / 0.9784 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3165, allocations: 15.94 kB / 0.9784 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3176, allocations: 1.425 MB / 0.9798 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3176, allocations: 4.031 kB / 0.9798 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.3185, allocations: 0.6584 MB / 0.9805 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.3188, allocations: 204.1 kB / 0.9807 GB, free: 8.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.3189, allocations: 12.12 kB / 0.9807 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.3193, allocations: 19.97 kB / 0.9807 GB, free: 8.391 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.3193, allocations: 15.98 kB / 0.9807 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.3194, allocations: 11.98 kB / 0.9807 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007967/0.3202, allocations: 0.62 MB / 0.9813 GB, free: 7.746 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3202, allocations: 0 / 0.9813 GB, free: 7.746 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007559/0.3209, allocations: 208 kB / 0.9815 GB, free: 7.543 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.0001646/0.3211, allocations: 119.3 kB / 0.9816 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.3223, allocations: 0.6496 MB / 0.9823 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3223, allocations: 0 / 0.9823 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.3227, allocations: 266.5 kB / 0.9825 GB, free: 6.484 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.3235, allocations: 177.2 kB / 0.9827 GB, free: 6.312 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.3259, allocations: 1.589 MB / 0.9843 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.3265, allocations: 0.9914 MB / 0.9852 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003888/0.3269, allocations: 153.8 kB / 0.9854 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3271, allocations: 47.44 kB / 0.9854 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/0.3271, allocations: 0 / 0.9854 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of Templates: time 0.01733/0.3444, allocations: 8.986 MB / 0.9942 GB, free: 10.59 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 -s cvode -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