Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001244/0.001245, allocations: 192.6 kB / 16.25 MB, free: 6.629 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 482.4 MB / 0.7543 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 70.61 kB / 0.9233 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3036, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003715/0.3074, allocations: 1.731 MB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3098, allocations: 1.367 MB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.31, allocations: 7.938 kB / 1.085 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.3104, allocations: 75.64 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.3105, allocations: 71.66 kB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.3113, allocations: 251.4 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.3115, allocations: 183.2 kB / 1.085 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.3116, allocations: 17.47 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3118, allocations: 83.64 kB / 1.085 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3119, allocations: 91.59 kB / 1.086 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3119, allocations: 8 kB / 1.086 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.3124, allocations: 331.4 kB / 1.086 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3125, allocations: 71.78 kB / 1.086 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.3126, allocations: 91.41 kB / 1.086 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.3132, allocations: 406.9 kB / 1.086 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3132, allocations: 0 / 1.086 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3132, allocations: 0 / 1.086 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3132, allocations: 0 / 1.086 GB, free: 8.859 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008892/0.3141, allocations: 0.5567 MB / 1.087 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3141, allocations: 8.031 kB / 1.087 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.3142, allocations: 24.64 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3146, allocations: 275.7 kB / 1.087 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.3147, allocations: 63.97 kB / 1.087 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3147, allocations: 4.375 kB / 1.087 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3149, allocations: 93.7 kB / 1.087 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.315, allocations: 4 kB / 1.087 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.315, allocations: 0 / 1.087 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.315, allocations: 4 kB / 1.087 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.3152, allocations: 95.94 kB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3156, allocations: 261.3 kB / 1.088 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.3169, allocations: 302.4 kB / 1.088 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3171, allocations: 56.77 kB / 1.088 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.3172, allocations: 105 kB / 1.088 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3173, allocations: 34.5 kB / 1.088 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3173, allocations: 4 kB / 1.088 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.000485/0.3178, allocations: 209.3 kB / 1.088 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3178, allocations: 51.41 kB / 1.088 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3181, allocations: 299.2 kB / 1.089 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3182, allocations: 25.7 kB / 1.089 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.3183, allocations: 116.5 kB / 1.089 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.3183, allocations: 31.72 kB / 1.089 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.3184, allocations: 57.69 kB / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3186, allocations: 334.8 kB / 1.089 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3188, allocations: 159.7 kB / 1.089 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.319, allocations: 159.7 kB / 1.09 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.3195, allocations: 289.8 kB / 1.09 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3195, allocations: 0 / 1.09 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006072/0.3201, allocations: 400.8 kB / 1.09 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3201, allocations: 9.25 kB / 1.09 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3201, allocations: 4 kB / 1.09 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3201, allocations: 0 / 1.09 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.3202, allocations: 19.92 kB / 1.09 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3203, allocations: 0 / 1.09 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.3204, allocations: 31.78 kB / 1.09 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3204, allocations: 8 kB / 1.09 GB, free: 4.582 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001234/0.3206, allocations: 129.8 kB / 1.09 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.3206, allocations: 31.66 kB / 1.09 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.321, allocations: 167.3 kB / 1.091 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.321, allocations: 0 / 1.091 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.321, allocations: 0 / 1.091 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.321, allocations: 3.938 kB / 1.091 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3212, allocations: 237.6 kB / 1.091 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3212, allocations: 4 kB / 1.091 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.3213, allocations: 19.86 kB / 1.091 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3213, allocations: 4 kB / 1.091 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.3213, allocations: 3.938 kB / 1.091 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3213, allocations: 0 / 1.091 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3213, allocations: 0 / 1.091 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.3217, allocations: 188.8 kB / 1.091 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.3218, allocations: 104.8 kB / 1.091 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3218, allocations: 0 / 1.091 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.3219, allocations: 8 kB / 1.091 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3219, allocations: 3.984 kB / 1.091 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.322, allocations: 4 kB / 1.091 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001866/0.3222, allocations: 205.9 kB / 1.091 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3222, allocations: 0 / 1.091 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003742/0.3225, allocations: 115.9 kB / 1.091 GB, free: 3.273 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0005063/0.323, allocations: 263 kB / 1.092 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.3237, allocations: 355.3 kB / 1.092 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3237, allocations: 0 / 1.092 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3238, allocations: 63.91 kB / 1.092 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3241, allocations: 34.42 kB / 1.092 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.3248, allocations: 436.1 kB / 1.093 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.3251, allocations: 0.7357 MB / 1.093 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.84e-05/0.3252, allocations: 29.31 kB / 1.093 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.3253, allocations: 15.44 kB / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3253, allocations: 0 / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of Templates: time 0.007164/0.3324, allocations: 3.093 MB / 1.096 GB, free: 14.24 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches