Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 85.27 kB / 19.87 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 165 kB / 23.27 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.972/0.972, allocations: 177.2 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.318/2.318, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.275e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001307/0.001319, allocations: 0.8217 MB / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.001433, allocations: 35.84 kB / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.001478, allocations: 7.938 kB / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.001509, allocations: 11.86 kB / 0.8906 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.001578, allocations: 7.875 kB / 0.8906 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.94e-05/0.001617, allocations: 23.97 kB / 0.8906 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.001699, allocations: 63.78 kB / 0.8907 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.001796, allocations: 27.97 kB / 0.8907 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.001882, allocations: 51.83 kB / 0.8908 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.001916, allocations: 11.92 kB / 0.8908 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.001932, allocations: 8 kB / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-06/0.001939, allocations: 4 kB / 0.8908 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.001956, allocations: 11.92 kB / 0.8908 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.001979, allocations: 23.92 kB / 0.8908 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.749e-05/0.002057, allocations: 39.83 kB / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002059, allocations: 0 / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002059, allocations: 0 / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002063, allocations: 0 / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002971/0.00236, allocations: 416.2 kB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.002396, allocations: 8.625 kB / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.002425, allocations: 24.78 kB / 0.8913 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.002536, allocations: 140.4 kB / 0.8914 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.002545, allocations: 4.375 kB / 0.8914 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.002554, allocations: 8.375 kB / 0.8915 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.002644, allocations: 81.59 kB / 0.8915 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.00265, allocations: 192 / 0.8915 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.002659, allocations: 8.312 kB / 0.8915 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.002664, allocations: 384 / 0.8915 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.002691, allocations: 23.92 kB / 0.8916 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.003064, allocations: 0.7185 MB / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.003148, allocations: 269.6 kB / 0.8925 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.003178, allocations: 126.9 kB / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.003204, allocations: 123.2 kB / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.003248, allocations: 160.6 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.003249, allocations: 0 / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.051e-05/0.0033, allocations: 33.66 kB / 0.8929 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.003348, allocations: 174.6 kB / 0.8931 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.003446, allocations: 199 kB / 0.8933 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.003455, allocations: 25.7 kB / 0.8933 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.003521, allocations: 182.4 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.003523, allocations: 4 kB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.003553, allocations: 27.31 kB / 0.8935 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.003662, allocations: 0.4962 MB / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.003669, allocations: 4 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.003704, allocations: 73.48 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.149e-05/0.003766, allocations: 93.36 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.003768, allocations: 0 / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.461e-05/0.003862, allocations: 73.5 kB / 0.8942 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.003874, allocations: 8 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.003878, allocations: 256 / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.00389, allocations: 8 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.197e-05/0.003932, allocations: 15.98 kB / 0.8943 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.003936, allocations: 4 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.003958, allocations: 15.83 kB / 0.8943 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.003963, allocations: 4 kB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 8 * 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 8.028e-05/0.004043, allocations: 283.6 kB / 0.8946 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.004092, allocations: 152.8 kB / 0.8947 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.004141, allocations: 164.6 kB / 0.8949 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-05/0.004196, allocations: 264.1 kB / 0.8951 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-05/0.004251, allocations: 272.1 kB / 0.8954 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-05/0.004307, allocations: 280 kB / 0.8956 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.004465, allocations: 488.5 kB / 0.8961 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.0045, allocations: 156.8 kB / 0.8963 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.004531, allocations: 148.9 kB / 0.8964 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.412e-05/0.004585, allocations: 264.1 kB / 0.8967 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.00464, allocations: 268 kB / 0.8969 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.443e-05/0.004694, allocations: 272.1 kB / 0.8972 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.524e-05/0.00475, allocations: 268 kB / 0.8974 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.004876, allocations: 460.2 kB / 0.8979 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.004917, allocations: 156.8 kB / 0.898 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.004993, allocations: 272.1 kB / 0.8983 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.005051, allocations: 148.8 kB / 0.8984 GB, free: 368 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.005104, allocations: 268.1 kB / 0.8987 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.00514, allocations: 144.9 kB / 0.8988 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.005183, allocations: 149.3 kB / 0.899 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.005183, allocations: 0 / 0.899 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001478/0.005331, allocations: 8 kB / 0.899 GB, free: 15.79 MB / 0.8698 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 (0): * Single equations (assignments): 0 * 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.0001135/0.005444, allocations: 218.4 kB / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.866e-05/0.005503, allocations: 31.88 kB / 0.8992 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005504, allocations: 0 / 0.8992 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.005505, allocations: 0 / 0.8992 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.00576, allocations: 0.7101 MB / 0.8999 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.005963, allocations: 273.7 kB / 0.9002 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.005994, allocations: 63.28 kB / 0.9002 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.006022, allocations: 8.922 kB / 0.9002 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.006051, allocations: 70.2 kB / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of SimCode: time 4.2e-07/0.006052, allocations: 0 / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of Templates: time 0.00152/0.007572, allocations: 343.7 kB / 0.9006 GB, free: 14.02 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.017573862802237]