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.01051/0.01051, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.00223/0.00223, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 62.88 kB / 0.9508 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2948, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004874/0.2998, allocations: 3.731 MB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004293/0.3041, allocations: 2.494 MB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/0.3046, allocations: 11.94 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.3055, allocations: 250.3 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.3066, allocations: 0.4989 MB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.308, allocations: 0.536 MB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.3095, allocations: 1.379 MB / 1.097 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.3098, allocations: 153 kB / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.3104, allocations: 454.5 kB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.311, allocations: 482.1 kB / 1.098 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.3111, allocations: 52 kB / 1.098 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3113, allocations: 60 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.3116, allocations: 355 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.312, allocations: 461.5 kB / 1.099 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009138/0.313, allocations: 0.9062 MB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.313, allocations: 0 / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.313, allocations: 0 / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.313, allocations: 4 kB / 1.099 GB, free: 5.707 MB / 0.8575 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.002203/0.3152, allocations: 1.272 MB / 1.101 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3153, allocations: 8.031 kB / 1.101 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3154, allocations: 120.2 kB / 1.101 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3165, allocations: 0.6644 MB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.3165, allocations: 41.03 kB / 1.101 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.3166, allocations: 64.33 kB / 1.102 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.3172, allocations: 398.9 kB / 1.102 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3173, allocations: 3.938 kB / 1.102 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3173, allocations: 16 kB / 1.102 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3173, allocations: 8 kB / 1.102 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.3177, allocations: 222.4 kB / 1.102 GB, free: 2.781 MB / 0.8575 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.002936/0.3206, allocations: 2.502 MB / 1.105 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3219, allocations: 491.2 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.3222, allocations: 153.2 kB / 1.105 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3222, allocations: 240 / 1.105 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3223, allocations: 38.8 kB / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.3223, allocations: 0 / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002136/0.3244, allocations: 1.221 MB / 1.106 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3245, allocations: 55.41 kB / 1.106 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.3256, allocations: 0.9232 MB / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.3257, allocations: 41.7 kB / 1.107 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.326, allocations: 369.2 kB / 1.108 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/0.3261, allocations: 119 kB / 1.108 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.3263, allocations: 166.6 kB / 1.108 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3265, allocations: 398.7 kB / 1.108 GB, free: 12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.3268, allocations: 225.8 kB / 1.109 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.3275, allocations: 0.627 MB / 1.109 GB, free: 10.96 MB / 0.8731 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.002948/0.3305, allocations: 1.758 MB / 1.111 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.3305, allocations: 4 kB / 1.111 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001493/0.332, allocations: 0.9154 MB / 1.112 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.332, allocations: 13.56 kB / 1.112 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.3321, allocations: 12 kB / 1.112 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.3323, allocations: 53.36 kB / 1.112 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.3329, allocations: 207.6 kB / 1.112 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.3341, allocations: 1.468 MB / 1.114 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/0.3349, allocations: 35.98 kB / 1.114 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.3349, allocations: 40 kB / 1.114 GB, free: 6.078 MB / 0.8731 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.0004306/0.3353, allocations: 306 kB / 1.114 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3355, allocations: 83.44 kB / 1.114 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.3356, allocations: 80.47 kB / 1.114 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3356, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3356, allocations: 4 kB / 1.114 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3356, allocations: 3.984 kB / 1.114 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.3373, allocations: 1.134 MB / 1.115 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3373, allocations: 0 / 1.115 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.3377, allocations: 87.88 kB / 1.115 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.3378, allocations: 36.89 kB / 1.115 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.3378, allocations: 12 kB / 1.115 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.3389, allocations: 1.441 MB / 1.117 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3389, allocations: 4.031 kB / 1.117 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.3398, allocations: 0.6481 MB / 1.117 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.3401, allocations: 204.5 kB / 1.118 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.3401, allocations: 12 kB / 1.118 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.3406, allocations: 19.97 kB / 1.118 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.3406, allocations: 23.86 kB / 1.118 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3407, allocations: 15.98 kB / 1.118 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008832/0.3415, allocations: 0.62 MB / 1.118 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3416, allocations: 0 / 1.118 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00083/0.3424, allocations: 204 kB / 1.118 GB, free: 0.8867 MB / 0.8731 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.0001848/0.3426, allocations: 115.1 kB / 1.119 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.344, allocations: 0.6461 MB / 1.119 GB, free: 112 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.344, allocations: 0 / 1.119 GB, free: 112 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.3445, allocations: 271.5 kB / 1.119 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.3454, allocations: 180.2 kB / 1.12 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.3482, allocations: 1.629 MB / 1.121 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.3489, allocations: 0.9877 MB / 1.122 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004313/0.3493, allocations: 153.8 kB / 1.122 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3495, allocations: 51.44 kB / 1.122 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of SimCode: time 5.51e-07/0.3495, allocations: 0 / 1.122 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.01887/0.3684, allocations: 9.089 MB / 1.131 GB, free: 3.793 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches