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.0008705/0.0008707, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001016/0.001016, allocations: 172.7 kB / 15.95 MB, free: 208 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.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.316 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.504/2.504, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.7507, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002657/0.7534, allocations: 2.316 MB / 0.9567 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.7569, allocations: 2.59 MB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.7572, allocations: 11.5 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.7585, allocations: 448.9 kB / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.759, allocations: 223.2 kB / 0.9599 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000841/0.7599, allocations: 292.5 kB / 0.9601 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.7618, allocations: 1.551 MB / 0.9617 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.762, allocations: 124.7 kB / 0.9618 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.7627, allocations: 443.4 kB / 0.9622 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.7632, allocations: 392.3 kB / 0.9626 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.7633, allocations: 25.28 kB / 0.9626 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.971e-05/0.7634, allocations: 26.41 kB / 0.9626 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.7636, allocations: 231.3 kB / 0.9628 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.7638, allocations: 165.8 kB / 0.963 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.7644, allocations: 0.7189 MB / 0.9637 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7644, allocations: 0 / 0.9637 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7644, allocations: 0 / 0.9637 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.7644, allocations: 0 / 0.9637 GB, free: 1.258 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.001779/0.7662, allocations: 1.044 MB / 0.9647 GB, free: 480 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7663, allocations: 9.281 kB / 0.9647 GB, free: 480 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.7664, allocations: 81.42 kB / 0.9648 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.7674, allocations: 0.6335 MB / 0.9654 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.7674, allocations: 30.92 kB / 0.9655 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.7675, allocations: 41.44 kB / 0.9655 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.7682, allocations: 371.7 kB / 0.9658 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.7682, allocations: 1.125 kB / 0.9659 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.7682, allocations: 10.28 kB / 0.9659 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.7683, allocations: 10.05 kB / 0.9659 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.7687, allocations: 237.6 kB / 0.9661 GB, free: 15.54 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.003638/0.7723, allocations: 2.469 MB / 0.9685 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.7734, allocations: 401 kB / 0.9689 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.7736, allocations: 137.8 kB / 0.969 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.7737, allocations: 6.031 kB / 0.969 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.7737, allocations: 35.69 kB / 0.9691 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.7737, allocations: 1.062 kB / 0.9691 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001109/0.7748, allocations: 0.5382 MB / 0.9696 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.7749, allocations: 57.98 kB / 0.9696 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.7763, allocations: 0.9284 MB / 0.9705 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.7764, allocations: 35.58 kB / 0.9706 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.7766, allocations: 304.2 kB / 0.9709 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.887e-05/0.7768, allocations: 68.78 kB / 0.9709 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.7768, allocations: 9.688 kB / 0.9709 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.777, allocations: 380.1 kB / 0.9713 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.7774, allocations: 236.8 kB / 0.9715 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.778, allocations: 0.5 MB / 0.972 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/0.7785, allocations: 314 kB / 0.9723 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.7785, allocations: 7.281 kB / 0.9723 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001366/0.7798, allocations: 0.8123 MB / 0.9731 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.7799, allocations: 12.95 kB / 0.9731 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.7799, allocations: 13.06 kB / 0.9731 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.7802, allocations: 53.5 kB / 0.9732 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.7807, allocations: 144 kB / 0.9733 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.7822, allocations: 1.438 MB / 0.9747 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008436/0.783, allocations: 127.9 kB / 0.9749 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.7831, allocations: 27.06 kB / 0.9749 GB, free: 8.77 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.0005547/0.7836, allocations: 340.9 kB / 0.9752 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.7838, allocations: 67.03 kB / 0.9753 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.7839, allocations: 74.86 kB / 0.9754 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.7839, allocations: 1.5 kB / 0.9754 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7839, allocations: 1.281 kB / 0.9754 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.7839, allocations: 4 kB / 0.9754 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/0.7848, allocations: 0.5838 MB / 0.9759 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7848, allocations: 0 / 0.9759 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.785, allocations: 47.33 kB / 0.976 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.7852, allocations: 44.61 kB / 0.976 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.7852, allocations: 11.8 kB / 0.976 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.7863, allocations: 1.414 MB / 0.9774 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7863, allocations: 0 / 0.9774 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.7871, allocations: 0.5719 MB / 0.978 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.7874, allocations: 195.8 kB / 0.9782 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.7875, allocations: 21.03 kB / 0.9782 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.7878, allocations: 54.62 kB / 0.9782 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.7879, allocations: 9.828 kB / 0.9782 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.7879, allocations: 3.812 kB / 0.9782 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009729/0.7889, allocations: 0.659 MB / 0.9789 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.32e-07/0.7889, allocations: 0 / 0.9789 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007774/0.7897, allocations: 183.8 kB / 0.9791 GB, free: 5.363 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.0001462/0.7899, allocations: 107.2 kB / 0.9792 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008866/0.7907, allocations: 0.5775 MB / 0.9797 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7908, allocations: 0 / 0.9797 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.7911, allocations: 256.2 kB / 0.98 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.7919, allocations: 166.3 kB / 0.9801 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.7942, allocations: 1.775 MB / 0.9819 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.7948, allocations: 1.018 MB / 0.9829 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004294/0.7952, allocations: 176.5 kB / 0.983 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.7953, allocations: 35.44 kB / 0.9831 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.7953, allocations: 4 kB / 0.9831 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.01385/0.8092, allocations: 7.777 MB / 0.9907 GB, free: 9.516 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches