Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001927/0.001927, allocations: 113.2 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.002276/0.002276, allocations: 193.2 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.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.727/2.727, allocations: 437.1 MB / 0.7177 GB, free: 4.734 MB / 0.5606 GB " [Timeout remaining time 177] 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 151.6 MB / 1.176 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002066/0.3115, allocations: 0.8296 MB / 1.177 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.3116, allocations: 43.73 kB / 1.177 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.3117, allocations: 4 kB / 1.177 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.3117, allocations: 11.88 kB / 1.177 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.3118, allocations: 15.84 kB / 1.177 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.531e-05/0.3119, allocations: 19.98 kB / 1.177 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.312, allocations: 59.84 kB / 1.177 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3121, allocations: 43.98 kB / 1.177 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.3122, allocations: 27.86 kB / 1.177 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.3123, allocations: 27.8 kB / 1.177 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3123, allocations: 4 kB / 1.177 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.3123, allocations: 8 kB / 1.177 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.3123, allocations: 11.92 kB / 1.177 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.3124, allocations: 31.81 kB / 1.177 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.3125, allocations: 87.5 kB / 1.177 GB, free: 4.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3125, allocations: 0 / 1.177 GB, free: 4.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3125, allocations: 0 / 1.177 GB, free: 4.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3125, allocations: 4 kB / 1.177 GB, free: 4.664 MB / 0.92 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.0004824/0.313, allocations: 379.1 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3131, allocations: 8.031 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.3131, allocations: 16.83 kB / 1.177 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.3133, allocations: 192.2 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3134, allocations: 8.375 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3134, allocations: 4.375 kB / 1.178 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3136, allocations: 98.08 kB / 1.178 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3136, allocations: 192 / 1.178 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3136, allocations: 3.938 kB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3136, allocations: 4 kB / 1.178 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.3137, allocations: 43.91 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.3143, allocations: 432.7 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.3143, allocations: 41.31 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.3144, allocations: 21.72 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3144, allocations: 4 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3144, allocations: 30.56 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3145, allocations: 4 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001803/0.3146, allocations: 57.52 kB / 1.178 GB, free: 3.152 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3147, allocations: 77.11 kB / 1.178 GB, free: 3.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3149, allocations: 160.9 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3149, allocations: 25.7 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.315, allocations: 108 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.315, allocations: 7.891 kB / 1.179 GB, free: 2.746 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3151, allocations: 17.97 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3152, allocations: 322.8 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.3153, allocations: 4 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.3153, allocations: 21.7 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.3154, allocations: 37.64 kB / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3154, allocations: 0 / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.3155, allocations: 61.55 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3155, allocations: 4 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3155, allocations: 7.938 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3155, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.3156, allocations: 7.984 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3156, allocations: 0 / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.3156, allocations: 7.938 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3156, allocations: 0 / 1.179 GB, free: 2.23 MB / 0.92 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.44e-05/0.3157, allocations: 113.8 kB / 1.179 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3158, allocations: 12.02 kB / 1.179 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.3158, allocations: 15.81 kB / 1.179 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3158, allocations: 0 / 1.179 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3159, allocations: 3.984 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3159, allocations: 4 kB / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.3163, allocations: 474.7 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3163, allocations: 4 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.3164, allocations: 4.062 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3164, allocations: 4 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3164, allocations: 0 / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3164, allocations: 0 / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3164, allocations: 0 / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.988e-05/0.3165, allocations: 81.81 kB / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.3166, allocations: 93 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3166, allocations: 4.031 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.3166, allocations: 4 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.3166, allocations: 3.984 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.3166, allocations: 0 / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.922e-05/0.3168, allocations: 121.3 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3168, allocations: 0 / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001936/0.317, allocations: 8 kB / 1.18 GB, free: 1.184 MB / 0.92 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.0001174/0.3171, allocations: 99.25 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.535e-05/0.3172, allocations: 23.94 kB / 1.18 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3172, allocations: 0 / 1.18 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.3172, allocations: 8 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.3174, allocations: 18.11 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.3177, allocations: 188.2 kB / 1.18 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3181, allocations: 0.697 MB / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3182, allocations: 11.44 kB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3182, allocations: 0 / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of Templates: time 0.002425/0.3206, allocations: 0.8639 MB / 1.182 GB, free: 15.2 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 10.119203394046053]