Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001287/0.001287, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001432/0.001432, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.19 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2745, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004256/0.2788, allocations: 2.75 MB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003889/0.2827, allocations: 2.777 MB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.283, allocations: 8 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2844, allocations: 0.4902 MB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.285, allocations: 258.8 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.286, allocations: 403.4 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.2878, allocations: 1.521 MB / 1.027 GB, free: 1.605 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.288, allocations: 142.3 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000704/0.2888, allocations: 478.7 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.2894, allocations: 382.6 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2896, allocations: 48 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.2898, allocations: 51.94 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/0.2902, allocations: 279.3 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.2907, allocations: 374.2 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.2915, allocations: 0.9074 MB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2915, allocations: 3.984 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2915, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.2915, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 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.002143/0.2937, allocations: 1.144 MB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2937, allocations: 8.031 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.2939, allocations: 80 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.295, allocations: 0.6759 MB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.295, allocations: 24.94 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.2951, allocations: 40.38 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.2957, allocations: 378.8 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2957, allocations: 0 / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.2957, allocations: 12 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2957, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.2962, allocations: 237.5 kB / 1.032 GB, free: 12.27 MB / 0.8106 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.003554/0.2997, allocations: 2.451 MB / 1.034 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/0.3007, allocations: 394.5 kB / 1.035 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3009, allocations: 144.7 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.301, allocations: 0 / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.301, allocations: 34.56 kB / 1.035 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.301, allocations: 0 / 1.035 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009596/0.302, allocations: 0.5402 MB / 1.035 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.302, allocations: 59.28 kB / 1.035 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3032, allocations: 0.9376 MB / 1.036 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3032, allocations: 33.7 kB / 1.036 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.3034, allocations: 300.4 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.3035, allocations: 71.03 kB / 1.037 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.3037, allocations: 130.1 kB / 1.037 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3038, allocations: 382.7 kB / 1.037 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.3042, allocations: 236.9 kB / 1.037 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.3047, allocations: 0.5014 MB / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/0.3054, allocations: 0.7009 MB / 1.039 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3054, allocations: 4 kB / 1.039 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001192/0.3066, allocations: 0.8112 MB / 1.039 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3067, allocations: 15.92 kB / 1.039 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.3067, allocations: 12 kB / 1.039 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.3069, allocations: 53.52 kB / 1.039 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.3074, allocations: 139.8 kB / 1.04 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.3086, allocations: 1.546 MB / 1.041 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.3093, allocations: 127.2 kB / 1.041 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.3093, allocations: 28 kB / 1.041 GB, free: 1.969 MB / 0.8106 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.0003223/0.3096, allocations: 342.8 kB / 1.042 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.3097, allocations: 67.09 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.3099, allocations: 70 kB / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3099, allocations: 0 / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3099, allocations: 0 / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3099, allocations: 0 / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.3105, allocations: 0.5869 MB / 1.042 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3105, allocations: 0 / 1.042 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.3108, allocations: 47.89 kB / 1.042 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.3109, allocations: 44.83 kB / 1.042 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.3109, allocations: 11.98 kB / 1.042 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.312, allocations: 1.52 MB / 1.044 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3121, allocations: 0 / 1.044 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.3128, allocations: 0.5655 MB / 1.044 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.3132, allocations: 200.5 kB / 1.045 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.3132, allocations: 11.98 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.3137, allocations: 47.86 kB / 1.045 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.3137, allocations: 15.83 kB / 1.045 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3137, allocations: 4 kB / 1.045 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008224/0.3146, allocations: 0.6629 MB / 1.045 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3146, allocations: 4 kB / 1.045 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006103/0.3152, allocations: 183.8 kB / 1.045 GB, free: 13.36 MB / 0.8262 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.0001202/0.3153, allocations: 115.1 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008457/0.3162, allocations: 0.5763 MB / 1.046 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3162, allocations: 0 / 1.046 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.3165, allocations: 250.5 kB / 1.046 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.3173, allocations: 168.2 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3193, allocations: 1.506 MB / 1.048 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.3199, allocations: 1.014 MB / 1.049 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.3203, allocations: 176.5 kB / 1.049 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3204, allocations: 39.44 kB / 1.049 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3204, allocations: 4 kB / 1.049 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of Templates: time 0.01418/0.3346, allocations: 8.432 MB / 1.057 GB, free: 1.129 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches