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.001726/0.001726, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.002025/0.002025, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.504/1.504, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.601/2.601, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 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.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.001942/0.001942, allocations: 63.91 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002146/0.3088, allocations: 0.8318 MB / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.3089, allocations: 35.8 kB / 1.215 GB, free: 44 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.309, allocations: 3.938 kB / 1.215 GB, free: 40 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.309, allocations: 11.86 kB / 1.215 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.3091, allocations: 23.86 kB / 1.215 GB, free: 4 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.828e-05/0.3091, allocations: 15.98 kB / 1.215 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3093, allocations: 59.84 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3094, allocations: 39.95 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.3095, allocations: 23.88 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.3095, allocations: 31.78 kB / 1.215 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3095, allocations: 4 kB / 1.215 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.3095, allocations: 8 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.3096, allocations: 15.94 kB / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3096, allocations: 35.72 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3097, allocations: 79.59 kB / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3097, allocations: 0 / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3097, allocations: 0 / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3097, allocations: 0 / 1.215 GB, free: 15.7 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.0004853/0.3102, allocations: 383.1 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3103, allocations: 8.031 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.3103, allocations: 12.84 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3105, allocations: 200.2 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3105, allocations: 8.375 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.3106, allocations: 12.38 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3107, allocations: 87.94 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3107, allocations: 192 / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3108, allocations: 11.94 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3108, allocations: 0 / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.3108, allocations: 43.86 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.3114, allocations: 432.7 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.167e-05/0.3115, allocations: 37.28 kB / 1.216 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.3115, allocations: 21.83 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3115, allocations: 3.984 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3116, allocations: 38.56 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3116, allocations: 0 / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001761/0.3117, allocations: 53.53 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.3118, allocations: 85.05 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.312, allocations: 155.7 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.312, allocations: 25.7 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.3121, allocations: 108.1 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.3121, allocations: 12.14 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3121, allocations: 29.59 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3123, allocations: 314.8 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.3123, allocations: 4 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.3123, allocations: 21.7 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.3124, allocations: 25.72 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3124, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.227e-05/0.3125, allocations: 61.58 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3125, allocations: 4 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3125, allocations: 3.938 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3125, allocations: 4 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.3125, allocations: 4 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3125, allocations: 0 / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.3126, allocations: 4 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3126, allocations: 0 / 1.217 GB, free: 13.26 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 9.452e-05/0.3127, allocations: 121.8 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.3127, allocations: 7.953 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.3128, allocations: 19.8 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3128, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3128, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3128, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3132, allocations: 474.7 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3132, allocations: 0 / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.3132, allocations: 7.938 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3132, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3132, allocations: 4 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3132, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3132, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.3133, allocations: 85.94 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3134, allocations: 93.05 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3134, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.3134, allocations: 3.938 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.3134, allocations: 4 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3134, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000101/0.3135, allocations: 125.3 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3135, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002028/0.3137, allocations: 11.94 kB / 1.218 GB, free: 12.2 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.0001203/0.3139, allocations: 99.28 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.314, allocations: 23.98 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.314, allocations: 0 / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.314, allocations: 7.938 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.3141, allocations: 13.59 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.3145, allocations: 196.4 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3148, allocations: 0.6963 MB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3149, allocations: 11.44 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3149, allocations: 0 / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.002494/0.3173, allocations: 0.8646 MB / 1.22 GB, free: 10.22 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.495018740883097]