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.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.001938/0.001938, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002289/0.002289, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.559/1.559, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.989/2.989, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_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 1.813e-06/1.813e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.489e-05/3.67e-05, allocations: 10.22 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0024/0.002437, allocations: 0.7888 MB / 1.001 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001559/0.002593, allocations: 43.78 kB / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.002661, allocations: 0 / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.002707, allocations: 15.88 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.002801, allocations: 11.86 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.846e-05/0.002859, allocations: 15.98 kB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.003011, allocations: 59.84 kB / 1.001 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.003169, allocations: 31.91 kB / 1.001 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.003259, allocations: 35.91 kB / 1.001 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.003328, allocations: 23.89 kB / 1.001 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.003363, allocations: 8 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.003374, allocations: 4 kB / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.003404, allocations: 15.94 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.003454, allocations: 23.91 kB / 1.001 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003599, allocations: 75.64 kB / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.003608, allocations: 3.984 kB / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003609, allocations: 0 / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.00362, allocations: 0 / 1.001 GB, free: 6.117 MB / 0.9512 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.0005002/0.004121, allocations: 302 kB / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.004164, allocations: 8.031 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.004201, allocations: 12.89 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.004441, allocations: 129.7 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.004459, allocations: 8.312 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.004484, allocations: 12.38 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.004687, allocations: 102 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.004699, allocations: 192 / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.004714, allocations: 4.375 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.004723, allocations: 4.375 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.004817, allocations: 43.86 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.005397, allocations: 348.5 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.005476, allocations: 41.25 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.005515, allocations: 13.78 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.005537, allocations: 7.984 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.00558, allocations: 38.56 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.005581, allocations: 0 / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002276/0.005809, allocations: 53.58 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.005864, allocations: 77.11 kB / 1.002 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.006024, allocations: 135.1 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.006044, allocations: 25.7 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.006131, allocations: 119.9 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.00614, allocations: 3.953 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.006191, allocations: 21.97 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.006337, allocations: 310.8 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.006359, allocations: 11.98 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.006383, allocations: 17.66 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.006432, allocations: 33.66 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006433, allocations: 0 / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.204e-05/0.006525, allocations: 57.58 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.006541, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006546, allocations: 64 / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.006566, allocations: 8 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.006633, allocations: 4 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.006641, allocations: 3.938 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.006676, allocations: 11.94 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.006681, allocations: 0 / 1.003 GB, free: 3.973 MB / 0.9512 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.536e-05/0.006766, allocations: 109.8 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.006813, allocations: 15.94 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.006836, allocations: 3.469 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006839, allocations: 0 / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.006845, allocations: 4 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.006849, allocations: 11.94 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.007271, allocations: 406.5 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.007272, allocations: 4 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.007291, allocations: 0 / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.007296, allocations: 7.938 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.007304, allocations: 3.938 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.007306, allocations: 3.938 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007307, allocations: 0 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.007406, allocations: 73.94 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.007427, allocations: 12.09 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.007441, allocations: 3.938 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.00746, allocations: 4 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.007482, allocations: 3.984 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.007484, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.873e-05/0.007553, allocations: 97.27 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.007553, allocations: 0 / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001959/0.007749, allocations: 15.95 kB / 1.004 GB, free: 3.133 MB / 0.9512 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.0001429/0.007892, allocations: 103.2 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.007984, allocations: 16 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.007986, allocations: 0 / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.008, allocations: 7.938 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.008157, allocations: 15.92 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.008526, allocations: 161.8 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.008599, allocations: 75.33 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.008634, allocations: 12.23 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.008671, allocations: 8.5 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of SimCode: time 4.7e-07/0.008671, allocations: 0 / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.002814/0.01148, allocations: 332.8 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.695034995675087]