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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 106.7 kB / 18.19 MB, free: 4.016 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 184.5 kB / 21.33 MB, free: 0.8789 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 250 MB, free: 3.066 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 443.5 MB / 0.731 GB, free: 13.95 MB / 0.5762 GB [Timeout remaining time 87] 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=500,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=500,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.002082/0.002082, allocations: 67.89 kB / 1.06 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3353, allocations: 160.7 MB / 1.217 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002205/0.3375, allocations: 0.8307 MB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.3376, allocations: 39.84 kB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.3377, allocations: 0 / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.3377, allocations: 11.86 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.3378, allocations: 11.88 kB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.56e-05/0.3379, allocations: 15.98 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.338, allocations: 59.84 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3381, allocations: 39.95 kB / 1.218 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.3382, allocations: 27.81 kB / 1.218 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.3382, allocations: 39.78 kB / 1.218 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3383, allocations: 4 kB / 1.218 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.3383, allocations: 8 kB / 1.218 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.3383, allocations: 7.938 kB / 1.218 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.3383, allocations: 39.78 kB / 1.218 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3385, allocations: 75.53 kB / 1.218 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3385, allocations: 0 / 1.218 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3385, allocations: 4 kB / 1.218 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3385, allocations: 3.938 kB / 1.218 GB, free: 14.28 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.0004539/0.3389, allocations: 383.1 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.339, allocations: 12.03 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.339, allocations: 12.84 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3392, allocations: 192.2 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3393, allocations: 8.375 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3393, allocations: 8.375 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3394, allocations: 93.45 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3394, allocations: 192 / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3394, allocations: 11.94 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3395, allocations: 4 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.3395, allocations: 35.92 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.3401, allocations: 432.7 kB / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.3401, allocations: 45.23 kB / 1.219 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.3402, allocations: 21.78 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.3402, allocations: 0 / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3402, allocations: 30.56 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3402, allocations: 0 / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001687/0.3404, allocations: 57.53 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.3404, allocations: 85.34 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3406, allocations: 156.1 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3406, allocations: 25.7 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.3407, allocations: 100.1 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.3407, allocations: 11.89 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.3407, allocations: 17.7 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3409, allocations: 318.8 kB / 1.22 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.3409, allocations: 11.98 kB / 1.22 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.3409, allocations: 17.72 kB / 1.22 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.3409, allocations: 29.66 kB / 1.22 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3409, allocations: 0 / 1.22 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.116e-05/0.341, allocations: 69.53 kB / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3411, allocations: 4 kB / 1.22 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3411, allocations: 3.938 kB / 1.22 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3411, allocations: 4.062 kB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.3411, allocations: 8 kB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3411, allocations: 0 / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.3412, allocations: 4 kB / 1.22 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.3412, allocations: 4 kB / 1.22 GB, free: 11.85 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.435e-05/0.3413, allocations: 113.8 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.3413, allocations: 11.94 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.3413, allocations: 11.75 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.3413, allocations: 8.078 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3413, allocations: 4 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3413, allocations: 0 / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.3417, allocations: 474.7 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3417, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.3418, allocations: 4 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3418, allocations: 3.938 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.3418, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3418, allocations: 8.047 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3418, allocations: 7.938 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/0.3419, allocations: 73.89 kB / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.3419, allocations: 93.05 kB / 1.221 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3419, allocations: 0 / 1.221 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.342, allocations: 0 / 1.221 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.342, allocations: 4.031 kB / 1.221 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.342, allocations: 4 kB / 1.221 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.313e-05/0.3421, allocations: 120.7 kB / 1.221 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3421, allocations: 0 / 1.221 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001863/0.3423, allocations: 7.938 kB / 1.221 GB, free: 10.8 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.0001231/0.3424, allocations: 103.2 kB / 1.221 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.3425, allocations: 23.92 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3425, allocations: 4.125 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.3425, allocations: 4 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.3427, allocations: 11.94 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.343, allocations: 192.2 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3433, allocations: 0.6963 MB / 1.222 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3434, allocations: 15.56 kB / 1.222 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3434, allocations: 0 / 1.222 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.002377/0.3457, allocations: 0.8683 MB / 1.223 GB, free: 8.812 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/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