Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.00153, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00126/0.00126, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.437/2.437, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7685, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.005256/0.7738, allocations: 2.783 MB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003762/0.7776, allocations: 2.764 MB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.7782, allocations: 8.125 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.7797, allocations: 466.3 kB / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.7803, allocations: 246.5 kB / 0.9552 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009987/0.7813, allocations: 354.5 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.7832, allocations: 1.56 MB / 0.957 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.7835, allocations: 134.1 kB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000852/0.7843, allocations: 488.9 kB / 0.9576 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007699/0.7851, allocations: 436 kB / 0.9581 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.7853, allocations: 51.72 kB / 0.9581 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.7855, allocations: 57.09 kB / 0.9582 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.7858, allocations: 263.2 kB / 0.9584 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.7866, allocations: 368.2 kB / 0.9588 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.7878, allocations: 0.8983 MB / 0.9596 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7878, allocations: 5.125 kB / 0.9596 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7878, allocations: 0 / 0.9596 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.184e-05/0.7879, allocations: 0 / 0.9596 GB, free: 1.688 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003073/0.7909, allocations: 1.155 MB / 0.9608 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.791, allocations: 9.375 kB / 0.9608 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.7912, allocations: 77.69 kB / 0.9609 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/0.7921, allocations: 0.6422 MB / 0.9615 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.7921, allocations: 31.61 kB / 0.9615 GB, free: 276 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.7922, allocations: 46.47 kB / 0.9616 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.7929, allocations: 379.4 kB / 0.9619 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.7929, allocations: 1.094 kB / 0.9619 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.7929, allocations: 6.5 kB / 0.9619 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.793, allocations: 5.531 kB / 0.9619 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.7934, allocations: 244 kB / 0.9622 GB, free: 15.87 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.003633/0.7971, allocations: 2.455 MB / 0.9646 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.7981, allocations: 387.3 kB / 0.9649 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.7983, allocations: 141.8 kB / 0.9651 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.7983, allocations: 5.875 kB / 0.9651 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.7983, allocations: 35.59 kB / 0.9651 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.7983, allocations: 1.062 kB / 0.9651 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001046/0.7994, allocations: 0.526 MB / 0.9656 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.7994, allocations: 57.61 kB / 0.9657 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.8007, allocations: 0.9452 MB / 0.9666 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.8007, allocations: 36.3 kB / 0.9666 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.8009, allocations: 300.9 kB / 0.9669 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.801, allocations: 67.8 kB / 0.967 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.8012, allocations: 131 kB / 0.9671 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8014, allocations: 379.8 kB / 0.9675 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.8017, allocations: 240.6 kB / 0.9677 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.8022, allocations: 0.5042 MB / 0.9682 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.803, allocations: 0.6967 MB / 0.9689 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.803, allocations: 3.375 kB / 0.9689 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001152/0.8041, allocations: 0.8123 MB / 0.9697 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.8042, allocations: 9.438 kB / 0.9697 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.8042, allocations: 9.219 kB / 0.9697 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.8044, allocations: 52.2 kB / 0.9697 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.8048, allocations: 143.2 kB / 0.9699 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.806, allocations: 1.542 MB / 0.9714 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.8067, allocations: 132.4 kB / 0.9715 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.8068, allocations: 26.28 kB / 0.9715 GB, free: 8.488 MB / 0.7325 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.0003651/0.8071, allocations: 341.3 kB / 0.9719 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.8072, allocations: 67.19 kB / 0.9719 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.8073, allocations: 69.75 kB / 0.972 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8074, allocations: 2.562 kB / 0.972 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8074, allocations: 1.25 kB / 0.972 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.8074, allocations: 0 / 0.972 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.808, allocations: 0.576 MB / 0.9726 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.808, allocations: 0 / 0.9726 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.8083, allocations: 53.77 kB / 0.9726 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.8085, allocations: 48.52 kB / 0.9726 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.8086, allocations: 7.766 kB / 0.9727 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.8096, allocations: 1.526 MB / 0.9741 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8096, allocations: 0 / 0.9741 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.8103, allocations: 0.5701 MB / 0.9747 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.8106, allocations: 205.6 kB / 0.9749 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.8106, allocations: 7 kB / 0.9749 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.811, allocations: 54.94 kB / 0.975 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.8111, allocations: 17.98 kB / 0.975 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.8111, allocations: 3.719 kB / 0.975 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008041/0.8119, allocations: 0.6637 MB / 0.9756 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8119, allocations: 0 / 0.9756 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006347/0.8126, allocations: 178.5 kB / 0.9758 GB, free: 5.141 MB / 0.7325 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.0001095/0.8127, allocations: 110.9 kB / 0.9759 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.8135, allocations: 0.6038 MB / 0.9765 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8135, allocations: 1.438 kB / 0.9765 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.8139, allocations: 254.5 kB / 0.9767 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.8147, allocations: 172.3 kB / 0.9769 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.8168, allocations: 1.696 MB / 0.9786 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.8174, allocations: 1.003 MB / 0.9795 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004062/0.8178, allocations: 180.5 kB / 0.9797 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.8179, allocations: 39.44 kB / 0.9797 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8179, allocations: 0 / 0.9797 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of Templates: time 0.01462/0.8325, allocations: 8.401 MB / 0.988 GB, free: 9.258 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches