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.001089/0.001089, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001429/0.001429, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.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.472/2.472, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7779/0.7783, allocations: 142.4 MB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003819/0.7822, allocations: 3.206 MB / 0.9575 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004213/0.7864, allocations: 2.378 MB / 0.9599 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008466/0.7873, allocations: 14.75 kB / 0.9599 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.7883, allocations: 207.3 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.7899, allocations: 444.2 kB / 0.9605 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.7915, allocations: 425.8 kB / 0.9609 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.7935, allocations: 1.298 MB / 0.9622 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.7939, allocations: 127.8 kB / 0.9623 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.795, allocations: 395.8 kB / 0.9627 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.7961, allocations: 479.2 kB / 0.9631 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.7964, allocations: 29.28 kB / 0.9632 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.7968, allocations: 31.34 kB / 0.9632 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.7972, allocations: 319.5 kB / 0.9635 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.7974, allocations: 192.2 kB / 0.9637 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.798, allocations: 0.6773 MB / 0.9643 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.798, allocations: 0.8438 kB / 0.9643 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.798, allocations: 0 / 0.9643 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.798, allocations: 0 / 0.9643 GB, free: 0.5039 MB / 0.7169 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.002018/0.8001, allocations: 1.13 MB / 0.9654 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.8001, allocations: 9.562 kB / 0.9655 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.8003, allocations: 105.8 kB / 0.9656 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.8014, allocations: 0.6172 MB / 0.9662 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.8015, allocations: 38.03 kB / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.8016, allocations: 60.41 kB / 0.9663 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.8023, allocations: 398.8 kB / 0.9666 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.8024, allocations: 1.125 kB / 0.9666 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.8024, allocations: 10.88 kB / 0.9666 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.8024, allocations: 8.562 kB / 0.9667 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.8029, allocations: 230.1 kB / 0.9669 GB, free: 14.67 MB / 0.7325 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.003289/0.8062, allocations: 2.515 MB / 0.9693 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.8075, allocations: 491.5 kB / 0.9698 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.8078, allocations: 157.8 kB / 0.9699 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.8078, allocations: 6.703 kB / 0.97 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.8079, allocations: 31.92 kB / 0.97 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.8079, allocations: 1.469 kB / 0.97 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002364/0.8102, allocations: 1.208 MB / 0.9712 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.8103, allocations: 54.47 kB / 0.9712 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.8117, allocations: 0.9205 MB / 0.9721 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.8117, allocations: 41.02 kB / 0.9722 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.8121, allocations: 362.8 kB / 0.9725 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.8123, allocations: 113.6 kB / 0.9726 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.8123, allocations: 14.69 kB / 0.9726 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002539/0.8126, allocations: 401.5 kB / 0.973 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.813, allocations: 222.3 kB / 0.9732 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/0.8139, allocations: 0.6293 MB / 0.9738 GB, free: 9.047 MB / 0.7325 GB 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])) 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])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.8165, allocations: 1.081 MB / 0.9749 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.8165, allocations: 7.844 kB / 0.9749 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001628/0.8181, allocations: 0.8954 MB / 0.9758 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.8182, allocations: 11.56 kB / 0.9758 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.8182, allocations: 18.56 kB / 0.9758 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.8184, allocations: 54.73 kB / 0.9759 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.8191, allocations: 205.9 kB / 0.9761 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.8203, allocations: 1.36 MB / 0.9774 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/0.8212, allocations: 59.64 kB / 0.9774 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.8213, allocations: 46.28 kB / 0.9775 GB, free: 6.473 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) 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]). 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.8218, allocations: 299.2 kB / 0.9778 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.8219, allocations: 78.44 kB / 0.9778 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.8221, allocations: 79.97 kB / 0.9779 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8221, allocations: 2.188 kB / 0.9779 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.8221, allocations: 5.422 kB / 0.9779 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8221, allocations: 0 / 0.9779 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.824, allocations: 1.143 MB / 0.979 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.824, allocations: 1.312 kB / 0.979 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.8244, allocations: 90.17 kB / 0.9791 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.8245, allocations: 37.48 kB / 0.9792 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.8245, allocations: 8 kB / 0.9792 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.8256, allocations: 1.331 MB / 0.9805 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8256, allocations: 0 / 0.9805 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009121/0.8265, allocations: 0.6602 MB / 0.9811 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.8268, allocations: 196.1 kB / 0.9813 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.8269, allocations: 15.94 kB / 0.9813 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.8273, allocations: 27.88 kB / 0.9813 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.8274, allocations: 19.97 kB / 0.9814 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.8274, allocations: 8 kB / 0.9814 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009249/0.8283, allocations: 0.6122 MB / 0.982 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8283, allocations: 0 / 0.982 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008836/0.8292, allocations: 208 kB / 0.9822 GB, free: 1.984 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.8294, allocations: 111.2 kB / 0.9823 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.8306, allocations: 0.6516 MB / 0.9829 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.8306, allocations: 0 / 0.9829 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.831, allocations: 266.5 kB / 0.9832 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009423/0.832, allocations: 172.8 kB / 0.9833 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.8349, allocations: 1.923 MB / 0.9852 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.8355, allocations: 0.984 MB / 0.9862 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004727/0.836, allocations: 153.8 kB / 0.9863 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.8362, allocations: 51.44 kB / 0.9864 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.8362, allocations: 0 / 0.9864 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.01746/0.8536, allocations: 8.192 MB / 0.9944 GB, free: 5.5 MB / 0.7481 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