Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008337/0.0008335, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009252/0.0009253, allocations: 168.7 kB / 15.95 MB, free: 204 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.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.082/3.082, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 8.562 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4092, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003081/0.4123, allocations: 2.325 MB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003684/0.416, allocations: 2.596 MB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.4162, allocations: 4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.4175, allocations: 446.3 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.418, allocations: 223.1 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.4188, allocations: 295.3 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.4208, allocations: 1.567 MB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.421, allocations: 109.7 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.4217, allocations: 446.8 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.4223, allocations: 382.7 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.4223, allocations: 20 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.4224, allocations: 24 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.4227, allocations: 235.3 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.4229, allocations: 161.3 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.4235, allocations: 0.7209 MB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4236, allocations: 0 / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4236, allocations: 4 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.4236, allocations: 0 / 1.067 GB, free: 11.78 MB / 0.8262 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.001887/0.4255, allocations: 1.043 MB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4255, allocations: 8.031 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.4257, allocations: 83.05 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.4266, allocations: 0.6167 MB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.4267, allocations: 32.45 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.4268, allocations: 47.98 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.4274, allocations: 374.7 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4274, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.4274, allocations: 8 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4274, allocations: 8 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.4278, allocations: 237.5 kB / 1.07 GB, free: 9.219 MB / 0.8262 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.003464/0.4313, allocations: 2.47 MB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.4323, allocations: 402.4 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.4325, allocations: 136.8 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.4326, allocations: 7.953 kB / 1.073 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4326, allocations: 34.55 kB / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.4326, allocations: 4 kB / 1.073 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001014/0.4336, allocations: 0.5446 MB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4337, allocations: 51.41 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.4349, allocations: 0.9376 MB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.435, allocations: 33.7 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.4352, allocations: 300.4 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.4353, allocations: 71 kB / 1.075 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.4354, allocations: 12 kB / 1.075 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4356, allocations: 374.8 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.4359, allocations: 240.9 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.4365, allocations: 0.5014 MB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.4369, allocations: 311.7 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.437, allocations: 0 / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00122/0.4382, allocations: 0.8269 MB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4382, allocations: 8 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.4382, allocations: 8 kB / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.4385, allocations: 60.8 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.4389, allocations: 139.8 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.4402, allocations: 1.428 MB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.4408, allocations: 135.3 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.4409, allocations: 31.94 kB / 1.078 GB, free: 15.64 MB / 0.8419 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.0004312/0.4413, allocations: 349.3 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.4414, allocations: 59.25 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.4416, allocations: 66 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4416, allocations: 4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4416, allocations: 0 / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4416, allocations: 4 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.4423, allocations: 0.5791 MB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4423, allocations: 0 / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.4426, allocations: 51.95 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.4427, allocations: 36.83 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.4427, allocations: 11.98 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.4439, allocations: 1.42 MB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.444, allocations: 0 / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/0.4447, allocations: 0.5763 MB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.445, allocations: 204.2 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.4451, allocations: 8 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.4454, allocations: 47.91 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.4455, allocations: 19.92 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4455, allocations: 4 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008483/0.4464, allocations: 0.659 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4464, allocations: 0 / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006338/0.447, allocations: 183.8 kB / 1.083 GB, free: 11.14 MB / 0.8419 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.0001353/0.4472, allocations: 107.2 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009984/0.4482, allocations: 0.5797 MB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4482, allocations: 0 / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.4485, allocations: 242.5 kB / 1.084 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/0.4493, allocations: 167.3 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.4516, allocations: 1.777 MB / 1.085 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.4522, allocations: 1.007 MB / 1.086 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004436/0.4527, allocations: 188.5 kB / 1.087 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4528, allocations: 35.44 kB / 1.087 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4528, allocations: 0 / 1.087 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of Templates: time 0.01403/0.4668, allocations: 7.771 MB / 1.094 GB, free: 15.31 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches