Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001838/0.001838, allocations: 109.5 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.002115/0.002115, 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.567/1.567, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.032/3.032, allocations: 489.2 MB / 0.7687 GB, free: 3.777 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002087/1.07, allocations: 0.8237 MB / 1.263 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001204/1.07, allocations: 41.12 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/1.07, allocations: 1.531 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/1.07, allocations: 13.8 kB / 1.263 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/1.07, allocations: 13.77 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.89e-05/1.07, allocations: 20.42 kB / 1.263 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/1.07, allocations: 59.27 kB / 1.264 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/1.07, allocations: 45.31 kB / 1.264 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/1.07, allocations: 26.3 kB / 1.264 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/1.07, allocations: 34.33 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/1.07, allocations: 6.094 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/1.07, allocations: 6 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/1.07, allocations: 12.59 kB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/1.07, allocations: 32.48 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/1.071, allocations: 77.75 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.071, allocations: 0 / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/1.071, allocations: 1.062 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.071, allocations: 4 kB / 1.264 GB, free: 7.254 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.0004155/1.071, allocations: 382.5 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.071, allocations: 9.594 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/1.071, allocations: 9.266 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.071, allocations: 196.2 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/1.071, allocations: 7.531 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/1.071, allocations: 5.656 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/1.072, allocations: 102.3 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.072, allocations: 1.688 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.072, allocations: 4.781 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.072, allocations: 1.75 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/1.072, allocations: 36.12 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/1.072, allocations: 437.7 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/1.072, allocations: 45.83 kB / 1.265 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/1.072, allocations: 21.09 kB / 1.265 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/1.072, allocations: 4.719 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/1.072, allocations: 36.12 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/1.072, allocations: 4.797 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/1.073, allocations: 60.16 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/1.073, allocations: 78.41 kB / 1.265 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/1.073, allocations: 160.8 kB / 1.265 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/1.073, allocations: 25.7 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/1.073, allocations: 107.5 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/1.073, allocations: 9.812 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/1.073, allocations: 14.45 kB / 1.265 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/1.073, allocations: 324 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/1.073, allocations: 11.8 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/1.073, allocations: 16.28 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/1.073, allocations: 31.39 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.073, allocations: 0 / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.164e-05/1.073, allocations: 57.89 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.073, allocations: 7.172 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.073, allocations: 4.656 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.073, allocations: 1.438 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/1.073, allocations: 10.11 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.073, allocations: 1.516 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/1.073, allocations: 9.641 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/1.073, allocations: 1.875 kB / 1.266 GB, free: 5.16 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.195e-05/1.073, allocations: 113.6 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/1.073, allocations: 13.25 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/1.073, allocations: 16.31 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.073, allocations: 5.391 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.073, allocations: 0.75 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.073, allocations: 0.8438 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/1.074, allocations: 470.4 kB / 1.266 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.074, allocations: 1.344 kB / 1.266 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/1.074, allocations: 7.031 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.074, allocations: 1.547 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/1.074, allocations: 0.6875 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/1.074, allocations: 0.7812 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.074, allocations: 4.688 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.233e-05/1.074, allocations: 80.69 kB / 1.267 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/1.074, allocations: 91 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/1.074, allocations: 5.312 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/1.074, allocations: 1.406 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/1.074, allocations: 1.812 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/1.074, allocations: 1.75 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.824e-05/1.074, allocations: 120.1 kB / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 0 / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001847/1.074, allocations: 7 kB / 1.267 GB, free: 4.25 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.0001135/1.074, allocations: 102.6 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.407e-05/1.074, allocations: 20.59 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.074, allocations: 4 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/1.075, allocations: 4.859 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/1.075, allocations: 11.28 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/1.075, allocations: 183.4 kB / 1.267 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/1.075, allocations: 0.6957 MB / 1.268 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/1.075, allocations: 16.39 kB / 1.268 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.075, allocations: 0 / 1.268 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of Templates: time 0.00291/1.078, allocations: 0.8699 MB / 1.269 GB, free: 3.176 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.490117071894929]