Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009773/0.009773, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002192/0.002192, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.308/2.308, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 0.9508 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9056, allocations: 140.4 MB / 1.088 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003906/0.9096, allocations: 1.899 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.9109, allocations: 0.6389 MB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.911, allocations: 10.97 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.9113, allocations: 65.09 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.9116, allocations: 65.3 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.9118, allocations: 71.88 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.9127, allocations: 0.6948 MB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.9128, allocations: 36.14 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.9132, allocations: 229.1 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.9137, allocations: 273.2 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.9138, allocations: 46.22 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.9139, allocations: 47.41 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.9142, allocations: 184.8 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.9145, allocations: 213.8 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000765/0.9153, allocations: 0.5049 MB / 1.093 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.9153, allocations: 0.75 kB / 1.093 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9153, allocations: 3.938 kB / 1.093 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.9153, allocations: 0 / 1.093 GB, free: 3.07 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002299/0.9176, allocations: 0.7585 MB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.9177, allocations: 9.375 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.9178, allocations: 34.84 kB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.9183, allocations: 308.5 kB / 1.094 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.9184, allocations: 27.42 kB / 1.094 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.9185, allocations: 40.48 kB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.9189, allocations: 173.7 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9189, allocations: 0 / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.9189, allocations: 5.312 kB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.9189, allocations: 3.234 kB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.9193, allocations: 144.4 kB / 1.094 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/0.9241, allocations: 1.306 MB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.9256, allocations: 462.4 kB / 1.096 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.9258, allocations: 116.4 kB / 1.096 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.9259, allocations: 2.25 kB / 1.096 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.9259, allocations: 32.27 kB / 1.096 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.9259, allocations: 7.938 kB / 1.096 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0008348/0.9267, allocations: 354 kB / 1.096 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.9268, allocations: 53.97 kB / 1.096 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.9271, allocations: 284.8 kB / 1.097 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.9272, allocations: 35.95 kB / 1.097 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.9273, allocations: 135.9 kB / 1.097 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.9274, allocations: 79.34 kB / 1.097 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.9277, allocations: 118.8 kB / 1.097 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.9278, allocations: 339.9 kB / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.9283, allocations: 270.5 kB / 1.098 GB, free: 380 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.9289, allocations: 325.1 kB / 1.098 GB, free: 252 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/0.9298, allocations: 444.5 kB / 1.098 GB, free: 76 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9298, allocations: 0 / 1.098 GB, free: 76 kB / 0.8575 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001425/0.9312, allocations: 0.6941 MB / 1.099 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.9313, allocations: 9.062 kB / 1.099 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9313, allocations: 0 / 1.099 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.9313, allocations: 2.859 kB / 1.099 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/0.9321, allocations: 129.4 kB / 1.099 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.9321, allocations: 2.281 kB / 1.099 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9335, allocations: 88.41 kB / 1.099 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/0.9336, allocations: 18.38 kB / 1.099 GB, free: 15.75 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.9338, allocations: 158.9 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.9339, allocations: 28.31 kB / 1.099 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.702e-05/0.934, allocations: 30.72 kB / 1.099 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.934, allocations: 2.953 kB / 1.1 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.934, allocations: 0 / 1.1 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.934, allocations: 1.312 kB / 1.1 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.9346, allocations: 426.2 kB / 1.1 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9346, allocations: 4 kB / 1.1 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.9349, allocations: 43.95 kB / 1.1 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.9349, allocations: 5.438 kB / 1.1 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.9349, allocations: 9.25 kB / 1.1 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/0.935, allocations: 4.656 kB / 1.1 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.935, allocations: 1.312 kB / 1.1 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009082/0.9359, allocations: 485.3 kB / 1.1 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.936, allocations: 116.5 kB / 1.101 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.9361, allocations: 8.578 kB / 1.101 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.9367, allocations: 26.5 kB / 1.101 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.9367, allocations: 10.19 kB / 1.101 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.9368, allocations: 8.406 kB / 1.101 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002332/0.937, allocations: 190.8 kB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.937, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006452/0.9377, allocations: 196.6 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.9378, allocations: 108.4 kB / 1.101 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009365/0.9387, allocations: 464.5 kB / 1.102 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9388, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.939, allocations: 118.5 kB / 1.102 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.9396, allocations: 65.81 kB / 1.102 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.9413, allocations: 0.9885 MB / 1.103 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.9417, allocations: 0.7671 MB / 1.103 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002898/0.942, allocations: 86.16 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.9421, allocations: 28.98 kB / 1.104 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of SimCode: time 4.1e-07/0.9421, allocations: 4 kB / 1.104 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.0135/0.9556, allocations: 6.033 MB / 1.109 GB, free: 12.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches