Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001754/0.001754, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001939/0.001939, allocations: 186 kB / 20.78 MB, free: 1.547 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.632/1.632, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4039, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002353/0.4063, allocations: 0.8436 MB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001243/0.4064, allocations: 39.78 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.4065, allocations: 4 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.4065, allocations: 7.875 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.465e-05/0.4066, allocations: 11.92 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.46e-05/0.4066, allocations: 19.92 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.4068, allocations: 63.84 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.4069, allocations: 35.97 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.407, allocations: 27.86 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.4071, allocations: 27.8 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.4071, allocations: 8 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.4071, allocations: 4 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.4071, allocations: 15.92 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.4072, allocations: 35.78 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.4074, allocations: 79.53 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4074, allocations: 0 / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4074, allocations: 0 / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4074, allocations: 4 kB / 1.217 GB, free: 14.15 MB / 0.9669 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.0005913/0.408, allocations: 379.1 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.408, allocations: 8.031 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.4081, allocations: 16.83 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.4083, allocations: 196.2 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4083, allocations: 8.375 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4084, allocations: 4.375 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.4085, allocations: 91.95 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4085, allocations: 4.188 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.4086, allocations: 11.88 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4086, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.4087, allocations: 43.84 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.4093, allocations: 432.7 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/0.4093, allocations: 41.28 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.4094, allocations: 17.84 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.4094, allocations: 4 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4094, allocations: 30.56 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4094, allocations: 4 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.4096, allocations: 57.52 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.4097, allocations: 81.11 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4098, allocations: 156.1 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4099, allocations: 29.7 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.4099, allocations: 100.1 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.41, allocations: 11.89 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.41, allocations: 13.97 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4101, allocations: 326.8 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.4102, allocations: 8 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.4102, allocations: 17.72 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.4102, allocations: 29.7 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4102, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.846e-05/0.4103, allocations: 61.55 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4103, allocations: 5.875 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4104, allocations: 7.938 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4104, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.4104, allocations: 7.984 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4104, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.4105, allocations: 8 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.4105, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 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.823e-05/0.4106, allocations: 113.8 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.4106, allocations: 12.02 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.4106, allocations: 11.81 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4106, allocations: 3.984 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4106, allocations: 3.938 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4107, allocations: 4 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4111, allocations: 470.7 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4111, allocations: 4 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.4111, allocations: 12 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4111, allocations: 4 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4111, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4111, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4111, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.145e-05/0.4112, allocations: 81.81 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.4113, allocations: 89.06 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.4113, allocations: 4.031 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.4113, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.4114, allocations: 3.984 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.4114, allocations: 96 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.881e-05/0.4115, allocations: 125.4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4115, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000186/0.4116, allocations: 11.94 kB / 1.22 GB, free: 10.66 MB / 0.9669 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.0002401/0.4119, allocations: 103.2 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.412, allocations: 20 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.412, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.412, allocations: 7.938 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.4122, allocations: 15.92 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.4125, allocations: 166.6 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.4129, allocations: 0.6965 MB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.413, allocations: 8.422 kB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.413, allocations: 11.44 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.413, allocations: 0 / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.003091/0.4161, allocations: 473.5 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.981302401050925]