Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001848/0.001848, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002182/0.002182, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.498/1.498, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.837/2.837, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 75.88 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9596/0.9619, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002672/0.9646, allocations: 0.7804 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.9648, allocations: 40.42 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.9648, allocations: 2.656 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.9649, allocations: 7.875 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.965, allocations: 19.34 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.994e-05/0.965, allocations: 16.5 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.9652, allocations: 62.92 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.9653, allocations: 29.55 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.9654, allocations: 27.28 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.9655, allocations: 31.66 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.9655, allocations: 6.031 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.9655, allocations: 5.594 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.9656, allocations: 17.75 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.9656, allocations: 25.09 kB / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.9657, allocations: 81.61 kB / 1.155 GB, free: 32.6 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9657, allocations: 4 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.474e-06/0.9657, allocations: 0 / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.9658, allocations: 0 / 1.155 GB, free: 32.59 MB / 1.076 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.0005037/0.9663, allocations: 304.4 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9663, allocations: 11.47 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.9664, allocations: 11.36 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.9666, allocations: 142 kB / 1.155 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.9666, allocations: 7 kB / 1.155 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.9666, allocations: 6.281 kB / 1.155 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.9668, allocations: 106.7 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.9669, allocations: 192 / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.9669, allocations: 3.938 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.9669, allocations: 6.141 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.967, allocations: 35.06 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.9675, allocations: 356.7 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.9676, allocations: 34.56 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.9676, allocations: 19.06 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.9676, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.9676, allocations: 41.34 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9676, allocations: 0 / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002285/0.9678, allocations: 55.94 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.9679, allocations: 83.58 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.968, allocations: 127.7 kB / 1.156 GB, free: 31.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.968, allocations: 25.7 kB / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.9681, allocations: 108.5 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.9681, allocations: 19.03 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.9681, allocations: 15.83 kB / 1.156 GB, free: 31.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.9682, allocations: 317.7 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.9682, allocations: 7.188 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.9682, allocations: 22.31 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.9683, allocations: 25.22 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9683, allocations: 3.938 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001036/0.9684, allocations: 60.38 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.9684, allocations: 2.438 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.9684, allocations: 2.438 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.9684, allocations: 4 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.9685, allocations: 13.28 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.9685, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.9685, allocations: 2.562 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.9685, allocations: 2.625 kB / 1.157 GB, free: 30.76 MB / 1.076 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.911e-05/0.9686, allocations: 116.6 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.9687, allocations: 6.797 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.9687, allocations: 14.47 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9687, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9687, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9687, allocations: 3 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.9691, allocations: 413.9 kB / 1.157 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9691, allocations: 3.938 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.9691, allocations: 2.5 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9691, allocations: 2.75 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.9691, allocations: 0 / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.9691, allocations: 0 / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9691, allocations: 6.906 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/0.9692, allocations: 76.66 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.9692, allocations: 14.86 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.9693, allocations: 4.094 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.9693, allocations: 2.906 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.9693, allocations: 7.266 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.9693, allocations: 0 / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.9694, allocations: 95.98 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9694, allocations: 0 / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000369/0.9697, allocations: 16.44 kB / 1.158 GB, free: 30.01 MB / 1.076 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.0001067/0.9698, allocations: 93.59 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.97, allocations: 26.33 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.97, allocations: 0 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.97, allocations: 2.594 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.9702, allocations: 17.39 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.9706, allocations: 150.8 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.9706, allocations: 84.75 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.9707, allocations: 6.938 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.9707, allocations: 15.16 kB / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.9707, allocations: 0 / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of Templates: time 0.00335/0.9741, allocations: 322.2 kB / 1.158 GB, free: 29.59 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.151556846918538]