Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001695/0.001695, allocations: 192.1 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.14 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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2732, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004729/0.278, allocations: 2.742 MB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.2821, allocations: 2.777 MB / 0.9565 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.2823, allocations: 11.94 kB / 0.9565 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.2838, allocations: 0.498 MB / 0.957 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.2843, allocations: 258.9 kB / 0.9572 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2854, allocations: 402.9 kB / 0.9576 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.287, allocations: 1.524 MB / 0.9591 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2872, allocations: 130.3 kB / 0.9592 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.288, allocations: 478.7 kB / 0.9597 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.2885, allocations: 378.6 kB / 0.9601 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.2886, allocations: 48 kB / 0.9601 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.2887, allocations: 59.88 kB / 0.9602 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.289, allocations: 279.3 kB / 0.9604 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.2895, allocations: 370.2 kB / 0.9608 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009329/0.2904, allocations: 0.9035 MB / 0.9617 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2904, allocations: 4 kB / 0.9617 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2904, allocations: 0 / 0.9617 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2904, allocations: 4 kB / 0.9617 GB, free: 13.23 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.002199/0.2927, allocations: 1.148 MB / 0.9628 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2927, allocations: 8.031 kB / 0.9628 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.2929, allocations: 76 kB / 0.9629 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.294, allocations: 0.676 MB / 0.9635 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.294, allocations: 28.94 kB / 0.9636 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.2941, allocations: 40.38 kB / 0.9636 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.2946, allocations: 378.8 kB / 0.964 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2947, allocations: 0 / 0.964 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2947, allocations: 15.98 kB / 0.964 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2947, allocations: 8 kB / 0.964 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.2951, allocations: 237.5 kB / 0.9642 GB, free: 10.51 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.003545/0.2987, allocations: 2.447 MB / 0.9666 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.2997, allocations: 398.5 kB / 0.967 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.2999, allocations: 136.7 kB / 0.9671 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2999, allocations: 8 kB / 0.9671 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3, allocations: 42.44 kB / 0.9672 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3, allocations: 0 / 0.9672 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.00094/0.3009, allocations: 0.5319 MB / 0.9677 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.301, allocations: 55.34 kB / 0.9677 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3021, allocations: 0.9337 MB / 0.9686 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3022, allocations: 37.7 kB / 0.9687 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.3024, allocations: 308.3 kB / 0.969 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3025, allocations: 67.03 kB / 0.969 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3027, allocations: 126.2 kB / 0.9692 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3029, allocations: 382.7 kB / 0.9695 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.3032, allocations: 240.9 kB / 0.9698 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.3038, allocations: 0.4936 MB / 0.9702 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.3046, allocations: 0.7034 MB / 0.9709 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3046, allocations: 0 / 0.9709 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001184/0.3058, allocations: 0.8159 MB / 0.9717 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3058, allocations: 8 kB / 0.9717 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3058, allocations: 8 kB / 0.9717 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.306, allocations: 52.81 kB / 0.9718 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.3065, allocations: 143.7 kB / 0.9719 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.3078, allocations: 1.539 MB / 0.9734 GB, free: 388 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.3084, allocations: 127.3 kB / 0.9735 GB, free: 260 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.3085, allocations: 31.98 kB / 0.9736 GB, free: 228 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.0004076/0.3089, allocations: 335.5 kB / 0.9739 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.309, allocations: 67.08 kB / 0.974 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3091, allocations: 74 kB / 0.974 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3091, allocations: 0 / 0.974 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3091, allocations: 0 / 0.974 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3091, allocations: 4 kB / 0.974 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.3098, allocations: 0.5791 MB / 0.9746 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3098, allocations: 4 kB / 0.9746 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.31, allocations: 51.84 kB / 0.9747 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.3102, allocations: 44.81 kB / 0.9747 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3102, allocations: 8 kB / 0.9747 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.3114, allocations: 1.519 MB / 0.9762 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3114, allocations: 160 / 0.9762 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.3122, allocations: 0.5646 MB / 0.9767 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.3126, allocations: 196.4 kB / 0.9769 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.3126, allocations: 7.984 kB / 0.9769 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.313, allocations: 51.86 kB / 0.977 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.3131, allocations: 15.86 kB / 0.977 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3131, allocations: 12 kB / 0.977 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000876/0.314, allocations: 0.659 MB / 0.9777 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.314, allocations: 3.938 kB / 0.9777 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006604/0.3147, allocations: 191.7 kB / 0.9778 GB, free: 11.62 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.000149/0.3148, allocations: 107.2 kB / 0.9779 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009688/0.3158, allocations: 0.5704 MB / 0.9785 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3158, allocations: 256 / 0.9785 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.3162, allocations: 258.4 kB / 0.9787 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.3171, allocations: 172.3 kB / 0.9789 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.3194, allocations: 1.51 MB / 0.9804 GB, free: 8.949 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008477/0.3203, allocations: 1.007 MB / 0.9814 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.3208, allocations: 180.5 kB / 0.9815 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3209, allocations: 39.44 kB / 0.9816 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of SimCode: time 6.51e-07/0.3209, allocations: 0 / 0.9816 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of Templates: time 0.01637/0.3373, allocations: 8.421 MB / 0.9898 GB, free: 15.39 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches