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.001126/0.001126, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001573/0.001573, allocations: 176.7 kB / 15.96 MB, free: 196 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.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.367 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.462/2.462, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7525, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002672/0.7552, allocations: 2.32 MB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.7584, allocations: 2.582 MB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.7587, allocations: 8.344 kB / 0.9592 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.7599, allocations: 447.5 kB / 0.9596 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.7603, allocations: 226.9 kB / 0.9599 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.761, allocations: 290.1 kB / 0.9601 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.7627, allocations: 1.566 MB / 0.9617 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.7629, allocations: 120.4 kB / 0.9618 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.7636, allocations: 443.8 kB / 0.9622 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.7641, allocations: 388.1 kB / 0.9626 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.7642, allocations: 21.31 kB / 0.9626 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.7643, allocations: 26.31 kB / 0.9626 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.7645, allocations: 237.6 kB / 0.9628 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.7647, allocations: 163.2 kB / 0.963 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005557/0.7652, allocations: 0.7195 MB / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7652, allocations: 0 / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7652, allocations: 0 / 0.9637 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.7652, allocations: 0 / 0.9637 GB, free: 1.23 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.001725/0.767, allocations: 1.043 MB / 0.9647 GB, free: 452 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.767, allocations: 9.094 kB / 0.9647 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.7672, allocations: 81.67 kB / 0.9648 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/0.7681, allocations: 0.6218 MB / 0.9654 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.7681, allocations: 26.66 kB / 0.9654 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/0.7682, allocations: 46 kB / 0.9655 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/0.7688, allocations: 375.7 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.7688, allocations: 4.734 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.7688, allocations: 6.406 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.7689, allocations: 9.953 kB / 0.9659 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.7693, allocations: 241.9 kB / 0.9661 GB, free: 15.52 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.003465/0.7728, allocations: 2.477 MB / 0.9685 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009572/0.7737, allocations: 391.8 kB / 0.9689 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.774, allocations: 144.9 kB / 0.969 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.774, allocations: 1.375 kB / 0.969 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.774, allocations: 39.75 kB / 0.9691 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.923e-06/0.774, allocations: 1.438 kB / 0.9691 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0009724/0.775, allocations: 0.5367 MB / 0.9696 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7751, allocations: 57.48 kB / 0.9696 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.7763, allocations: 0.932 MB / 0.9705 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.7764, allocations: 36.08 kB / 0.9706 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.7766, allocations: 299.7 kB / 0.9709 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.7767, allocations: 68.89 kB / 0.9709 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.7768, allocations: 10.09 kB / 0.9709 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7769, allocations: 376.5 kB / 0.9713 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.7773, allocations: 244.3 kB / 0.9715 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.7779, allocations: 0.5039 MB / 0.972 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.7783, allocations: 307 kB / 0.9723 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.7783, allocations: 2.688 kB / 0.9723 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001233/0.7796, allocations: 0.8151 MB / 0.9731 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.7796, allocations: 11.78 kB / 0.9731 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7796, allocations: 9.469 kB / 0.9731 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.7799, allocations: 60.92 kB / 0.9732 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.7803, allocations: 139.4 kB / 0.9733 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.7815, allocations: 1.434 MB / 0.9747 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.7822, allocations: 137 kB / 0.9749 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.7823, allocations: 26.78 kB / 0.9749 GB, free: 8.742 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.0004227/0.7827, allocations: 349.3 kB / 0.9752 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.7828, allocations: 62.91 kB / 0.9753 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.7829, allocations: 70.95 kB / 0.9753 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.783, allocations: 1.438 kB / 0.9753 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.783, allocations: 1.375 kB / 0.9754 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.783, allocations: 7.984 kB / 0.9754 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.7837, allocations: 0.5826 MB / 0.9759 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7837, allocations: 1.188 kB / 0.9759 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.7839, allocations: 51.39 kB / 0.976 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.784, allocations: 39.89 kB / 0.976 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.7841, allocations: 7.734 kB / 0.976 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009679/0.785, allocations: 1.414 MB / 0.9774 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.785, allocations: 3.938 kB / 0.9774 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.7858, allocations: 0.5662 MB / 0.978 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.786, allocations: 200.4 kB / 0.9782 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.7861, allocations: 11.73 kB / 0.9782 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.7865, allocations: 56.39 kB / 0.9782 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.7866, allocations: 13.5 kB / 0.9782 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.7866, allocations: 3.562 kB / 0.9782 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008444/0.7874, allocations: 0.6578 MB / 0.9789 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.553e-06/0.7874, allocations: 0 / 0.9789 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006626/0.7881, allocations: 183.9 kB / 0.9791 GB, free: 5.391 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.0001175/0.7882, allocations: 107.2 kB / 0.9792 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008647/0.7891, allocations: 0.5837 MB / 0.9797 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7891, allocations: 0 / 0.9797 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.7894, allocations: 246.5 kB / 0.98 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.7903, allocations: 169.8 kB / 0.9801 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.7925, allocations: 1.777 MB / 0.9819 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.7931, allocations: 1.01 MB / 0.9828 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004258/0.7935, allocations: 188.5 kB / 0.983 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.7936, allocations: 35.44 kB / 0.9831 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.7937, allocations: 0 / 0.9831 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of Templates: time 0.01278/0.8064, allocations: 7.769 MB / 0.9906 GB, free: 9.555 MB / 0.7481 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches