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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001355/0.001355, allocations: 105 kB / 16.41 MB, free: 6.465 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.001456/0.001455, allocations: 187 kB / 17.34 MB, free: 5.719 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.519/1.519, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7606, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003669/0.7644, allocations: 2.731 MB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.768, allocations: 2.774 MB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.7683, allocations: 9.531 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.7698, allocations: 0.4897 MB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006218/0.7704, allocations: 258.1 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.7716, allocations: 397.8 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001935/0.7735, allocations: 1.541 MB / 1.097 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.7738, allocations: 137.5 kB / 1.097 GB, free: 496 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.7745, allocations: 472.5 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.7751, allocations: 388.4 kB / 1.098 GB, free: 184 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.7752, allocations: 50.81 kB / 1.098 GB, free: 180 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.7754, allocations: 49.25 kB / 1.098 GB, free: 180 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.7757, allocations: 277.6 kB / 1.098 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.7761, allocations: 371.7 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.7772, allocations: 0.9091 MB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.7772, allocations: 7.938 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7772, allocations: 1.094 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.7772, allocations: 0 / 1.099 GB, free: 15.53 MB / 0.8731 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.002195/0.7794, allocations: 1.145 MB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7795, allocations: 10 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.7796, allocations: 82.67 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.7807, allocations: 0.6686 MB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.7807, allocations: 28.28 kB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.7808, allocations: 38.77 kB / 1.101 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.7815, allocations: 375.2 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.7815, allocations: 1.094 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.7815, allocations: 18.83 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.7815, allocations: 5.75 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.782, allocations: 240.1 kB / 1.102 GB, free: 14.04 MB / 0.8731 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.003813/0.7859, allocations: 2.449 MB / 1.104 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009711/0.7869, allocations: 396 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.7871, allocations: 142.5 kB / 1.105 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.7871, allocations: 1.781 kB / 1.105 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.7871, allocations: 39.78 kB / 1.105 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.7872, allocations: 4 kB / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001014/0.7882, allocations: 0.5277 MB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.7882, allocations: 53.59 kB / 1.105 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.7895, allocations: 0.9416 MB / 1.106 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.7896, allocations: 36.14 kB / 1.106 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.7899, allocations: 300.5 kB / 1.106 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.79, allocations: 69.86 kB / 1.106 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.7902, allocations: 126.1 kB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.7903, allocations: 380.8 kB / 1.107 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.7907, allocations: 239.2 kB / 1.107 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.7912, allocations: 0.5016 MB / 1.108 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.792, allocations: 0.6944 MB / 1.108 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.7921, allocations: 7.125 kB / 1.108 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001294/0.7934, allocations: 0.8107 MB / 1.109 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.7934, allocations: 12.94 kB / 1.109 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.7934, allocations: 10.47 kB / 1.109 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.7936, allocations: 53.73 kB / 1.109 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.7941, allocations: 141.5 kB / 1.109 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.7953, allocations: 1.538 MB / 1.111 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.7961, allocations: 133.6 kB / 1.111 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.7962, allocations: 27.56 kB / 1.111 GB, free: 7.906 MB / 0.8731 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.0004544/0.7966, allocations: 345 kB / 1.111 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.7968, allocations: 62.5 kB / 1.111 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.7969, allocations: 67.27 kB / 1.111 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7969, allocations: 2.188 kB / 1.111 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.797, allocations: 0.625 kB / 1.111 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.797, allocations: 6.062 kB / 1.111 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.7978, allocations: 0.578 MB / 1.112 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7979, allocations: 0 / 1.112 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.7981, allocations: 58.75 kB / 1.112 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.7983, allocations: 41.12 kB / 1.112 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.7983, allocations: 13.75 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.7994, allocations: 1.522 MB / 1.114 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7994, allocations: 1.25 kB / 1.114 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.8002, allocations: 0.5672 MB / 1.114 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.8005, allocations: 201.9 kB / 1.114 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.8006, allocations: 10.67 kB / 1.114 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.801, allocations: 50.2 kB / 1.114 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.8011, allocations: 13.78 kB / 1.114 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.8011, allocations: 6.906 kB / 1.114 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009407/0.802, allocations: 0.6596 MB / 1.115 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.802, allocations: 4 kB / 1.115 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007287/0.8028, allocations: 183.5 kB / 1.115 GB, free: 5.066 MB / 0.8731 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.0001235/0.8029, allocations: 100.1 kB / 1.115 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009383/0.8038, allocations: 0.5788 MB / 1.116 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.8039, allocations: 0 / 1.116 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.8042, allocations: 247.5 kB / 1.116 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.8051, allocations: 175.3 kB / 1.116 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.8073, allocations: 1.546 MB / 1.118 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.808, allocations: 1.007 MB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.8082, allocations: 37.28 kB / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.8082, allocations: 0 / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of Templates: time 0.02101/0.8292, allocations: 12.37 MB / 1.131 GB, free: 1.238 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches