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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 109.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002001, allocations: 192.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 489.3 MB / 0.7687 GB, free: 3.789 MB / 0.6075 GB " [Timeout remaining time 176] 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.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 0.001961/0.001961, allocations: 67.89 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 163.8 MB / 1.263 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002092/1.08, allocations: 0.831 MB / 1.263 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/1.081, allocations: 37.97 kB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/1.081, allocations: 5.281 kB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/1.081, allocations: 10.48 kB / 1.263 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/1.081, allocations: 9.734 kB / 1.263 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.92e-05/1.081, allocations: 19.73 kB / 1.263 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/1.081, allocations: 64.16 kB / 1.264 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/1.081, allocations: 45.05 kB / 1.264 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/1.081, allocations: 22.41 kB / 1.264 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/1.081, allocations: 34.11 kB / 1.264 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/1.081, allocations: 6.594 kB / 1.264 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/1.081, allocations: 5.531 kB / 1.264 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/1.081, allocations: 12.62 kB / 1.264 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/1.081, allocations: 33.16 kB / 1.264 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/1.082, allocations: 81.7 kB / 1.264 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.082, allocations: 1.469 kB / 1.264 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/1.082, allocations: 4 kB / 1.264 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.082, allocations: 0 / 1.264 GB, free: 7.457 MB / 0.9981 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.000433/1.082, allocations: 381.5 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.082, allocations: 9.062 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/1.082, allocations: 9.453 kB / 1.264 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/1.082, allocations: 193.1 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/1.082, allocations: 6.656 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/1.082, allocations: 9.828 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/1.083, allocations: 104.4 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.083, allocations: 192 / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/1.083, allocations: 6.312 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.083, allocations: 1.656 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/1.083, allocations: 39.45 kB / 1.265 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/1.083, allocations: 434.2 kB / 1.265 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/1.083, allocations: 45.86 kB / 1.265 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/1.083, allocations: 20.42 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/1.083, allocations: 5.234 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/1.083, allocations: 32.7 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.083, allocations: 4 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/1.083, allocations: 56.86 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.084, allocations: 78.53 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/1.084, allocations: 160 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/1.084, allocations: 26.45 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/1.084, allocations: 110.7 kB / 1.265 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/1.084, allocations: 10.08 kB / 1.265 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/1.084, allocations: 19.05 kB / 1.265 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/1.084, allocations: 319.4 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/1.084, allocations: 11.64 kB / 1.266 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/1.084, allocations: 16.36 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/1.084, allocations: 27.86 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/1.084, allocations: 0 / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.825e-05/1.084, allocations: 61.39 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.084, allocations: 5.031 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.084, allocations: 5.312 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.084, allocations: 1.344 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/1.084, allocations: 5.797 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.084, allocations: 1.438 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/1.084, allocations: 10.3 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/1.084, allocations: 1.438 kB / 1.266 GB, free: 5.371 MB / 0.9981 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 5.833e-05/1.084, allocations: 121.5 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/1.084, allocations: 9.125 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/1.084, allocations: 15.86 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.084, allocations: 1.531 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.084, allocations: 4.781 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.084, allocations: 0.9375 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/1.085, allocations: 470.6 kB / 1.266 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.085, allocations: 4.875 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/1.085, allocations: 7.828 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.085, allocations: 4.75 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/1.085, allocations: 1.234 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.085, allocations: 0.8125 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.085, allocations: 4.688 kB / 1.267 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.318e-05/1.085, allocations: 81.09 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/1.085, allocations: 90.67 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.085, allocations: 1.344 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/1.085, allocations: 0.75 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/1.085, allocations: 2.141 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/1.085, allocations: 0.7188 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.068e-05/1.085, allocations: 118.6 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.92e-07/1.085, allocations: 0.6875 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001884/1.085, allocations: 11.03 kB / 1.267 GB, free: 4.453 MB / 0.9981 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 0.0001146/1.085, allocations: 101.2 kB / 1.267 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.8e-05/1.085, allocations: 16.38 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.085, allocations: 0 / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/1.086, allocations: 13.05 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/1.086, allocations: 11.31 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/1.086, allocations: 183.2 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/1.086, allocations: 0.696 MB / 1.268 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/1.086, allocations: 12.61 kB / 1.268 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.086, allocations: 0 / 1.268 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of Templates: time 0.002866/1.089, allocations: 0.8668 MB / 1.269 GB, free: 3.383 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.447771815117449]