Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001623/0.001623, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.3 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3015, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002962/0.3045, allocations: 1.908 MB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.3054, allocations: 0.6391 MB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.3055, allocations: 0 / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.3058, allocations: 59.66 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.306, allocations: 71.53 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3062, allocations: 75.89 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006184/0.3068, allocations: 0.694 MB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3069, allocations: 36.88 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.3072, allocations: 227.6 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.3076, allocations: 283.3 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.3076, allocations: 48 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.3077, allocations: 48 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.3079, allocations: 179.6 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.3082, allocations: 215.2 kB / 1.073 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.3086, allocations: 0.495 MB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3086, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3086, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3086, allocations: 0 / 1.073 GB, free: 5.453 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001951/0.3106, allocations: 0.7599 MB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3106, allocations: 12.03 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3107, allocations: 32.66 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.3111, allocations: 320.2 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3112, allocations: 20.36 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.3112, allocations: 28 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3115, allocations: 180.5 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3116, allocations: 0 / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3116, allocations: 8 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3116, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.3118, allocations: 144.6 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.3161, allocations: 1.308 MB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.3175, allocations: 462.2 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3177, allocations: 116.8 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3177, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3177, allocations: 38.56 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 2.305e-06/0.3177, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006727/0.3184, allocations: 359.5 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3185, allocations: 59.39 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.3187, allocations: 290.5 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.3188, allocations: 37.7 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3189, allocations: 132.8 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.319, allocations: 74.98 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.3192, allocations: 118.2 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3193, allocations: 342.8 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.3197, allocations: 265 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.3202, allocations: 328.6 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.3209, allocations: 442.6 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3209, allocations: 0 / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00115/0.3221, allocations: 0.6899 MB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3221, allocations: 11.94 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3221, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3221, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.3229, allocations: 127.8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3229, allocations: 11.97 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3242, allocations: 91.28 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.3242, allocations: 11.98 kB / 1.08 GB, free: 14.47 MB / 0.8419 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.0001524/0.3244, allocations: 165.8 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.3245, allocations: 23.66 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.3245, allocations: 30.17 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3245, allocations: 4 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3245, allocations: 0 / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3246, allocations: 0 / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.325, allocations: 421 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.325, allocations: 0 / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.3252, allocations: 47.91 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.3253, allocations: 3.938 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3253, allocations: 11.98 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3253, allocations: 0 / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3253, allocations: 4 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.3259, allocations: 483 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.326, allocations: 116.6 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3261, allocations: 8 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.3267, allocations: 19.95 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3267, allocations: 19.97 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3268, allocations: 4 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000163/0.3269, allocations: 197.9 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3269, allocations: 0 / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005272/0.3275, allocations: 203.9 kB / 1.081 GB, free: 12.66 MB / 0.8419 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.0001149/0.3276, allocations: 107.7 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007785/0.3284, allocations: 492.7 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3284, allocations: 0 / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3286, allocations: 115.9 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.329, allocations: 60.47 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3306, allocations: 0.977 MB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.331, allocations: 0.7676 MB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.3312, allocations: 90.2 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3314, allocations: 27.42 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3314, allocations: 0 / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of Templates: time 0.01066/0.3421, allocations: 5.995 MB / 1.09 GB, free: 4.023 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches