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.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.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.0009494/0.0009494, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 187.7 kB / 16.92 MB, free: 6.75 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.352 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.386/2.386, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003516, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6057, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002447/0.6082, allocations: 2.423 MB / 0.9581 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.6114, allocations: 2.753 MB / 0.9607 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.6116, allocations: 8.062 kB / 0.9608 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.6128, allocations: 462.6 kB / 0.9612 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.6133, allocations: 240.4 kB / 0.9614 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.6141, allocations: 331.6 kB / 0.9617 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.6159, allocations: 1.714 MB / 0.9634 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.6161, allocations: 134.8 kB / 0.9635 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.6167, allocations: 399.9 kB / 0.9639 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.6172, allocations: 395.2 kB / 0.9643 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.6173, allocations: 22 kB / 0.9643 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.6174, allocations: 22.47 kB / 0.9643 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.6176, allocations: 218 kB / 0.9646 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.6179, allocations: 358.2 kB / 0.9649 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.6185, allocations: 0.7198 MB / 0.9656 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6185, allocations: 4 kB / 0.9656 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6185, allocations: 3.938 kB / 0.9656 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.6185, allocations: 0 / 0.9656 GB, free: 0.7852 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.00168/0.6202, allocations: 1.032 MB / 0.9666 GB, free: 0 / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.6203, allocations: 13.73 kB / 0.9666 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.6204, allocations: 77.5 kB / 0.9667 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009677/0.6214, allocations: 0.6508 MB / 0.9673 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.6215, allocations: 27.31 kB / 0.9674 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/0.6215, allocations: 42.38 kB / 0.9674 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.6222, allocations: 381.4 kB / 0.9678 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6222, allocations: 1.062 kB / 0.9678 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.6222, allocations: 10.12 kB / 0.9678 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.6222, allocations: 6 kB / 0.9678 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.6227, allocations: 235.4 kB / 0.968 GB, free: 15.06 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.003669/0.6264, allocations: 2.473 MB / 0.9704 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6274, allocations: 409.4 kB / 0.9708 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.6276, allocations: 139.6 kB / 0.9709 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.6277, allocations: 1.562 kB / 0.9709 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.6277, allocations: 36 kB / 0.971 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 3.106e-06/0.6277, allocations: 0 / 0.971 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001032/0.6287, allocations: 0.5478 MB / 0.9715 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.6288, allocations: 53.34 kB / 0.9716 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.6301, allocations: 0.9383 MB / 0.9725 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.6302, allocations: 35.17 kB / 0.9725 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.6304, allocations: 304.4 kB / 0.9728 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/0.6305, allocations: 68.38 kB / 0.9729 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.6306, allocations: 65.91 kB / 0.9729 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6308, allocations: 383.7 kB / 0.9733 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.6312, allocations: 243.6 kB / 0.9735 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.6317, allocations: 0.497 MB / 0.974 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.6326, allocations: 0.7054 MB / 0.9747 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6326, allocations: 3.312 kB / 0.9747 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001274/0.6339, allocations: 0.8202 MB / 0.9755 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6339, allocations: 9.875 kB / 0.9755 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6339, allocations: 9.219 kB / 0.9755 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.6341, allocations: 59.53 kB / 0.9756 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.6346, allocations: 136 kB / 0.9757 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.6359, allocations: 1.435 MB / 0.9771 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008609/0.6367, allocations: 128.2 kB / 0.9772 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.6368, allocations: 27.38 kB / 0.9773 GB, free: 7.801 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.0004379/0.6372, allocations: 338.2 kB / 0.9776 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.6374, allocations: 66.22 kB / 0.9777 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.6375, allocations: 70.12 kB / 0.9777 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6375, allocations: 5.875 kB / 0.9777 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6375, allocations: 9.422 kB / 0.9777 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6375, allocations: 0 / 0.9777 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.6382, allocations: 0.5797 MB / 0.9783 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6382, allocations: 0 / 0.9783 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.6385, allocations: 47.5 kB / 0.9783 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.6387, allocations: 40.03 kB / 0.9784 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.6387, allocations: 7.75 kB / 0.9784 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.6398, allocations: 1.429 MB / 0.9798 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6398, allocations: 1.562 kB / 0.9798 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.6406, allocations: 0.5754 MB / 0.9803 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.6409, allocations: 200.2 kB / 0.9805 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.6409, allocations: 11.98 kB / 0.9806 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.6414, allocations: 51.86 kB / 0.9806 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.6414, allocations: 15.98 kB / 0.9806 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.6414, allocations: 4.125 kB / 0.9806 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008593/0.6423, allocations: 0.659 MB / 0.9813 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6423, allocations: 0 / 0.9813 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007072/0.643, allocations: 183.8 kB / 0.9814 GB, free: 3.938 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.0001285/0.6432, allocations: 111.2 kB / 0.9815 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009162/0.6441, allocations: 0.5781 MB / 0.9821 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6441, allocations: 0 / 0.9821 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.6444, allocations: 250.5 kB / 0.9823 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.6453, allocations: 171.5 kB / 0.9825 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.6478, allocations: 1.848 MB / 0.9843 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.6485, allocations: 1.003 MB / 0.9853 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.6486, allocations: 35.44 kB / 0.9853 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.6486, allocations: 0 / 0.9853 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.0174/0.666, allocations: 12.18 MB / 0.9972 GB, free: 3.727 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches