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.001309/0.001309, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001223/0.001223, allocations: 177.3 kB / 15.94 MB, free: 228 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.502/2.502, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003402, allocations: 12 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8116, allocations: 142.3 MB / 0.9535 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002778/0.8144, allocations: 2.2 MB / 0.9556 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.8179, allocations: 2.531 MB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.8183, allocations: 7.062 kB / 0.9581 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.8197, allocations: 0.5171 MB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.8203, allocations: 189.6 kB / 0.9588 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008959/0.8212, allocations: 287.5 kB / 0.9591 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.8224, allocations: 0.8596 MB / 0.9599 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.8227, allocations: 127.5 kB / 0.96 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.8232, allocations: 290 kB / 0.9603 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.8236, allocations: 281.5 kB / 0.9606 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.8237, allocations: 20.59 kB / 0.9606 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.2e-05/0.8238, allocations: 21.5 kB / 0.9606 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.8241, allocations: 230.3 kB / 0.9608 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.8243, allocations: 161.2 kB / 0.961 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.825, allocations: 0.7116 MB / 0.9617 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.825, allocations: 4 kB / 0.9617 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.825, allocations: 1.125 kB / 0.9617 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.825, allocations: 0 / 0.9617 GB, free: 2.352 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.001915/0.8269, allocations: 1.039 MB / 0.9627 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.827, allocations: 12.59 kB / 0.9627 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.8271, allocations: 82.02 kB / 0.9628 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.8281, allocations: 0.6137 MB / 0.9634 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.8282, allocations: 30.59 kB / 0.9634 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.8283, allocations: 45.72 kB / 0.9635 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.8288, allocations: 374.4 kB / 0.9638 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8288, allocations: 0 / 0.9638 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.8288, allocations: 7.281 kB / 0.9638 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.8289, allocations: 17.58 kB / 0.9639 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.8292, allocations: 237.5 kB / 0.9641 GB, free: 0.6523 MB / 0.7169 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.8329, allocations: 2.476 MB / 0.9665 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.8339, allocations: 401.5 kB / 0.9669 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.834, allocations: 2 kB / 0.9669 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.834, allocations: 39.56 kB / 0.9669 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.834, allocations: 0 / 0.9669 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.00111/0.8351, allocations: 0.5389 MB / 0.9675 GB, free: 14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.8352, allocations: 61.08 kB / 0.9675 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.8366, allocations: 0.933 MB / 0.9684 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.8366, allocations: 34.95 kB / 0.9685 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.8369, allocations: 297 kB / 0.9687 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.837, allocations: 68.44 kB / 0.9688 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.8371, allocations: 14.72 kB / 0.9688 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.8373, allocations: 379 kB / 0.9692 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.8377, allocations: 236.8 kB / 0.9694 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.8383, allocations: 0.4982 MB / 0.9699 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.8388, allocations: 310.4 kB / 0.9702 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.8388, allocations: 3.281 kB / 0.9702 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001375/0.8402, allocations: 0.8105 MB / 0.971 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.8402, allocations: 10.5 kB / 0.971 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.8402, allocations: 9.875 kB / 0.971 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.8405, allocations: 61.33 kB / 0.9711 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.841, allocations: 139.9 kB / 0.9712 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.8422, allocations: 1.451 MB / 0.9726 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.8431, allocations: 120.9 kB / 0.9727 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.8432, allocations: 27.28 kB / 0.9727 GB, free: 9.945 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 (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.0004965/0.8437, allocations: 344.4 kB / 0.9731 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.8438, allocations: 63.62 kB / 0.9731 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.8439, allocations: 66.91 kB / 0.9732 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.844, allocations: 9.219 kB / 0.9732 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.844, allocations: 1.125 kB / 0.9732 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.844, allocations: 3.938 kB / 0.9732 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.8447, allocations: 0.579 MB / 0.9738 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8447, allocations: 1.031 kB / 0.9738 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.845, allocations: 46.88 kB / 0.9738 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.8452, allocations: 48.31 kB / 0.9739 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.8452, allocations: 8.969 kB / 0.9739 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.8463, allocations: 1.438 MB / 0.9753 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.8463, allocations: 0 / 0.9753 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009019/0.8473, allocations: 0.5762 MB / 0.9758 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.8476, allocations: 192.5 kB / 0.976 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.8478, allocations: 15.78 kB / 0.976 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.8482, allocations: 55.23 kB / 0.9761 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.8482, allocations: 9.984 kB / 0.9761 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.8483, allocations: 3.969 kB / 0.9761 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00109/0.8494, allocations: 0.6579 MB / 0.9768 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8494, allocations: 4 kB / 0.9768 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009757/0.8504, allocations: 179 kB / 0.9769 GB, free: 6.691 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 (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.0001698/0.8505, allocations: 110.3 kB / 0.977 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.8517, allocations: 0.5788 MB / 0.9776 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8517, allocations: 0.625 kB / 0.9776 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.852, allocations: 259.5 kB / 0.9778 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.8528, allocations: 159 kB / 0.978 GB, free: 6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.8556, allocations: 1.774 MB / 0.9797 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.8564, allocations: 1.026 MB / 0.9807 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005365/0.8569, allocations: 184.5 kB / 0.9809 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.857, allocations: 35.44 kB / 0.9809 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/0.857, allocations: 0 / 0.9809 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of Templates: time 0.0153/0.8723, allocations: 7.77 MB / 0.9885 GB, free: 11.51 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","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches