Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001334/0.001334, allocations: 110.5 kB / 17.08 MB, free: 5.82 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.001378/0.001378, allocations: 191.8 kB / 20.03 MB, free: 2.953 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.486/1.486, 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.289/3.289, allocations: 489.2 MB / 0.7687 GB, free: 3.965 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8772, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001982/0.8792, allocations: 0.8342 MB / 1.263 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.8793, allocations: 40.33 kB / 1.263 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.8794, allocations: 1.312 kB / 1.263 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.8794, allocations: 11.08 kB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.8795, allocations: 9.328 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.109e-05/0.8796, allocations: 18.59 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.8797, allocations: 63.64 kB / 1.264 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.8799, allocations: 40.92 kB / 1.264 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.8799, allocations: 26.22 kB / 1.264 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.88, allocations: 34.78 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.88, allocations: 5.75 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.88, allocations: 6.562 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.8801, allocations: 13.11 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.8801, allocations: 31.67 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.8803, allocations: 81.75 kB / 1.264 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8803, allocations: 4.562 kB / 1.264 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8803, allocations: 0 / 1.264 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.8803, allocations: 0.75 kB / 1.264 GB, free: 7.27 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.0005198/0.8809, allocations: 379.7 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.8809, allocations: 9.656 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.881, allocations: 10.64 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.8812, allocations: 191.8 kB / 1.264 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.8813, allocations: 7.531 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.8813, allocations: 5.406 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.8815, allocations: 98.45 kB / 1.264 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8815, allocations: 1.281 kB / 1.264 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.8815, allocations: 4.641 kB / 1.264 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.8816, allocations: 2.906 kB / 1.264 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.8817, allocations: 38.78 kB / 1.264 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006641/0.8823, allocations: 434.8 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.213e-05/0.8824, allocations: 49.75 kB / 1.265 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.8825, allocations: 24.2 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.8825, allocations: 1.219 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.8825, allocations: 35.95 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.8825, allocations: 0.875 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002271/0.8828, allocations: 60.47 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.8828, allocations: 78.55 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.883, allocations: 159.6 kB / 1.265 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.8831, allocations: 26.42 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.8831, allocations: 107.5 kB / 1.265 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.8832, allocations: 14.62 kB / 1.265 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.8832, allocations: 17.66 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8833, allocations: 323.7 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.8833, allocations: 7.984 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.8834, allocations: 16.03 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.8834, allocations: 26.95 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.8834, allocations: 4.719 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.8836, allocations: 57.28 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.8836, allocations: 7.75 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.8836, allocations: 4.594 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.8837, allocations: 0.7812 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.8837, allocations: 6.172 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.8838, allocations: 1.516 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.8838, allocations: 14.61 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.8838, allocations: 1.031 kB / 1.266 GB, free: 5.18 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 8.204e-05/0.8839, allocations: 114.2 kB / 1.266 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.884, allocations: 12.7 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.884, allocations: 12.72 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.884, allocations: 0.5625 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.884, allocations: 4.781 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.884, allocations: 0.7812 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.8844, allocations: 470.8 kB / 1.266 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8844, allocations: 5.312 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.8845, allocations: 7.422 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8845, allocations: 1.344 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.8845, allocations: 0.7188 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8845, allocations: 5.328 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8845, allocations: 0.625 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.03e-05/0.8846, allocations: 81.28 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.8847, allocations: 89.92 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.8847, allocations: 2.266 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.8847, allocations: 0.7188 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.8847, allocations: 1.422 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.8847, allocations: 1.375 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001036/0.8848, allocations: 124.9 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8849, allocations: 1.062 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001972/0.8851, allocations: 6.281 kB / 1.267 GB, free: 4.27 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.0001393/0.8852, allocations: 109.7 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.8853, allocations: 16.25 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8853, allocations: 0 / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.8853, allocations: 8.859 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.8855, allocations: 11.03 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.8859, allocations: 191.7 kB / 1.267 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.8861, allocations: 0.6917 MB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.8862, allocations: 12.41 kB / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.8862, allocations: 0 / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of Templates: time 0.003591/0.8898, allocations: 0.8656 MB / 1.269 GB, free: 3.191 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.383220446994528]