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.001078/0.001078, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001348/0.001348, allocations: 173 kB / 23.49 MB, free: 1.059 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.9599/0.9599, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.025/2.025, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 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.674e-06/1.674e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.023e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001334/0.001355, allocations: 0.8306 MB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 9.99e-05/0.001455, allocations: 47.78 kB / 0.8791 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.001498, allocations: 1.125 kB / 0.8791 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.001536, allocations: 7.875 kB / 0.8791 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.001605, allocations: 7.922 kB / 0.8791 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.716e-05/0.001642, allocations: 17.02 kB / 0.8791 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.001729, allocations: 71.77 kB / 0.8792 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.001843, allocations: 23.98 kB / 0.8792 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.001913, allocations: 41.27 kB / 0.8792 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.001963, allocations: 19.91 kB / 0.8792 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.001983, allocations: 4 kB / 0.8792 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.001992, allocations: 11.19 kB / 0.8792 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.00201, allocations: 11.94 kB / 0.8793 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.002038, allocations: 23.91 kB / 0.8793 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.292e-05/0.002131, allocations: 51.7 kB / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002133, allocations: 0 / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.81e-07/0.002133, allocations: 0 / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002137, allocations: 0 / 0.8793 GB, free: 5.484 MB / 0.8386 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.0003526/0.00249, allocations: 404.3 kB / 0.8797 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.002525, allocations: 12.61 kB / 0.8797 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.002563, allocations: 16.89 kB / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.002705, allocations: 138.1 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.002716, allocations: 8.375 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.002726, allocations: 4.375 kB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.002831, allocations: 85.61 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.002837, allocations: 0.6875 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.002846, allocations: 5.719 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.002853, allocations: 384 / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.002894, allocations: 27.86 kB / 0.88 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.003245, allocations: 463.8 kB / 0.8804 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.671e-05/0.003292, allocations: 62.31 kB / 0.8805 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.003322, allocations: 23.42 kB / 0.8805 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.003328, allocations: 4 kB / 0.8805 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003347, allocations: 33.39 kB / 0.8806 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.003347, allocations: 0 / 0.8806 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000127/0.003475, allocations: 45.64 kB / 0.8806 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.003507, allocations: 77.11 kB / 0.8807 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.003605, allocations: 189.8 kB / 0.8809 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.003615, allocations: 25.7 kB / 0.8809 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.003672, allocations: 162.6 kB / 0.881 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.00368, allocations: 11.89 kB / 0.8811 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.003705, allocations: 31.61 kB / 0.8811 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.00382, allocations: 492.1 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.003831, allocations: 4 kB / 0.8816 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.003852, allocations: 27.36 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.003883, allocations: 19.38 kB / 0.8816 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.003885, allocations: 7.938 kB / 0.8816 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.268e-05/0.003938, allocations: 53.67 kB / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.003951, allocations: 8 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.003956, allocations: 8.047 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.003967, allocations: 0 / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.004013, allocations: 4 kB / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.00402, allocations: 7.938 kB / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.004035, allocations: 4 kB / 0.8817 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.004038, allocations: 0 / 0.8817 GB, free: 2.816 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.195e-05/0.0041, allocations: 160.5 kB / 0.8818 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.004122, allocations: 7.953 kB / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.004145, allocations: 11.45 kB / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.004147, allocations: 0 / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.004152, allocations: 8 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.004157, allocations: 7.938 kB / 0.8819 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.004423, allocations: 0.5383 MB / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.004424, allocations: 0 / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.004434, allocations: 4 kB / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004436, allocations: 0 / 0.8824 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.004442, allocations: 3.938 kB / 0.8824 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.004443, allocations: 4 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004444, allocations: 0 / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.364e-05/0.004498, allocations: 88.08 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.004511, allocations: 8.047 kB / 0.8825 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.004522, allocations: 11.88 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.004533, allocations: 4 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.004544, allocations: 0 / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.004546, allocations: 4 kB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.004592, allocations: 142.5 kB / 0.8827 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004592, allocations: 0 / 0.8827 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001215/0.004713, allocations: 11.94 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.835e-05/0.004782, allocations: 99.23 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.714e-05/0.004849, allocations: 23.69 kB / 0.8828 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.00485, allocations: 3.938 kB / 0.8828 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.004858, allocations: 11.69 kB / 0.8828 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.971e-05/0.004958, allocations: 4 kB / 0.8828 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.00519, allocations: 170.6 kB / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.005221, allocations: 63.34 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.141e-05/0.005243, allocations: 256 / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.005264, allocations: 16.5 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.005265, allocations: 0 / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of Templates: time 0.001694/0.006959, allocations: 351.8 kB / 0.8834 GB, free: 0.918 MB / 0.8386 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.227677922928706]