Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 117.9 kB / 16.37 MB, free: 6.012 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.00119/0.00119, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.306/2.306, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 68.81 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004428/0.3038, allocations: 2.738 MB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.3081, allocations: 2.785 MB / 0.9565 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.3083, allocations: 11.94 kB / 0.9565 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.3098, allocations: 0.4941 MB / 0.957 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.3105, allocations: 254.9 kB / 0.9572 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3116, allocations: 398.7 kB / 0.9576 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.3134, allocations: 1.528 MB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.3137, allocations: 134.3 kB / 0.9592 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.3143, allocations: 478.8 kB / 0.9597 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.3148, allocations: 382.6 kB / 0.9601 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.553e-05/0.3149, allocations: 48 kB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.315, allocations: 55.94 kB / 0.9602 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.3153, allocations: 275.3 kB / 0.9604 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.3157, allocations: 366.2 kB / 0.9608 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008781/0.3166, allocations: 0.9151 MB / 0.9617 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3166, allocations: 0 / 0.9617 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3166, allocations: 0 / 0.9617 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.3166, allocations: 0 / 0.9617 GB, free: 13.2 MB / 0.7481 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.002184/0.3188, allocations: 1.149 MB / 0.9628 GB, free: 12 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.001e-05/0.3189, allocations: 12.03 kB / 0.9628 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3191, allocations: 76 kB / 0.9629 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3202, allocations: 0.6759 MB / 0.9635 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3202, allocations: 28.94 kB / 0.9636 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.3203, allocations: 36.38 kB / 0.9636 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.3208, allocations: 382.8 kB / 0.964 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3209, allocations: 0 / 0.964 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3209, allocations: 12 kB / 0.964 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3209, allocations: 8 kB / 0.964 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.3213, allocations: 233.5 kB / 0.9642 GB, free: 10.48 MB / 0.7481 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.003635/0.3249, allocations: 2.451 MB / 0.9666 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.326, allocations: 398.5 kB / 0.967 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.3262, allocations: 136.7 kB / 0.9671 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3262, allocations: 4 kB / 0.9671 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.3263, allocations: 50.48 kB / 0.9672 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.194e-06/0.3263, allocations: 0 / 0.9672 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001029/0.3273, allocations: 0.5286 MB / 0.9677 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3274, allocations: 59.34 kB / 0.9677 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.3286, allocations: 0.9298 MB / 0.9686 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.3286, allocations: 41.7 kB / 0.9687 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.3289, allocations: 304.4 kB / 0.969 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.329, allocations: 66.98 kB / 0.969 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.3292, allocations: 126.1 kB / 0.9691 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3293, allocations: 382.7 kB / 0.9695 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.3297, allocations: 240.9 kB / 0.9697 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.3302, allocations: 0.4936 MB / 0.9702 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008496/0.3311, allocations: 0.705 MB / 0.9709 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3311, allocations: 4 kB / 0.9709 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001137/0.3322, allocations: 0.812 MB / 0.9717 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3323, allocations: 12 kB / 0.9717 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3323, allocations: 8 kB / 0.9717 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.3325, allocations: 48.83 kB / 0.9718 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.333, allocations: 143.7 kB / 0.9719 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.3342, allocations: 1.542 MB / 0.9734 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/0.3349, allocations: 123.4 kB / 0.9735 GB, free: 228 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.335, allocations: 28 kB / 0.9736 GB, free: 200 kB / 0.7481 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.0004045/0.3354, allocations: 339.5 kB / 0.9739 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.3355, allocations: 67.09 kB / 0.974 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.3356, allocations: 70 kB / 0.974 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3356, allocations: 4 kB / 0.974 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3356, allocations: 0 / 0.974 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3356, allocations: 0 / 0.974 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.3363, allocations: 0.5867 MB / 0.9746 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3363, allocations: 0 / 0.9746 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.3366, allocations: 55.83 kB / 0.9746 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.3367, allocations: 40.83 kB / 0.9747 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.3368, allocations: 11.98 kB / 0.9747 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.3379, allocations: 1.519 MB / 0.9762 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.338, allocations: 0 / 0.9762 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.3387, allocations: 0.5721 MB / 0.9767 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.3391, allocations: 196.4 kB / 0.9769 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.3391, allocations: 7.984 kB / 0.9769 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.3395, allocations: 47.86 kB / 0.977 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3396, allocations: 19.86 kB / 0.977 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3396, allocations: 12 kB / 0.977 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008623/0.3405, allocations: 0.659 MB / 0.9777 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3405, allocations: 0 / 0.9777 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006854/0.3412, allocations: 191.7 kB / 0.9778 GB, free: 11.58 MB / 0.7637 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.0001352/0.3413, allocations: 103.2 kB / 0.9779 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009036/0.3422, allocations: 0.5706 MB / 0.9785 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3422, allocations: 0 / 0.9785 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.3426, allocations: 254.5 kB / 0.9787 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.3435, allocations: 170.9 kB / 0.9789 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3456, allocations: 1.506 MB / 0.9804 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.3463, allocations: 1.003 MB / 0.9813 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000449/0.3468, allocations: 184.5 kB / 0.9815 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3469, allocations: 35.44 kB / 0.9816 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of SimCode: time 3.81e-07/0.3469, allocations: 3.938 kB / 0.9816 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of Templates: time 0.01566/0.3626, allocations: 8.435 MB / 0.9898 GB, free: 15.36 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches