Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008007/0.008007, allocations: 99.95 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 189.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9243, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002257/0.9266, allocations: 0.8219 MB / 1.221 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001588/0.9267, allocations: 39.78 kB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.9268, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.9269, allocations: 7.875 kB / 1.221 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.927, allocations: 15.86 kB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.125e-05/0.927, allocations: 19.98 kB / 1.222 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.9272, allocations: 63.83 kB / 1.222 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.9274, allocations: 43.86 kB / 1.222 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.9274, allocations: 27.86 kB / 1.222 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.9275, allocations: 35.78 kB / 1.222 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.9275, allocations: 11.94 kB / 1.222 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.9275, allocations: 4 kB / 1.222 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.9275, allocations: 11.94 kB / 1.222 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.9276, allocations: 31.8 kB / 1.222 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.9277, allocations: 76.2 kB / 1.222 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9277, allocations: 0 / 1.222 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9277, allocations: 0 / 1.222 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9277, allocations: 3.938 kB / 1.222 GB, free: 0.9297 MB / 0.9356 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.000492/0.9282, allocations: 383.1 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9283, allocations: 8.031 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.9283, allocations: 12.84 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.9286, allocations: 192.2 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.9286, allocations: 8.375 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.9286, allocations: 4.375 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.9288, allocations: 95.88 kB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.9289, allocations: 8.188 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9289, allocations: 3.938 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.9289, allocations: 0 / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.929, allocations: 35.98 kB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.9296, allocations: 436.7 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.23e-05/0.9296, allocations: 45.16 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.9297, allocations: 17.84 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.9297, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.9297, allocations: 38.58 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9297, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/0.9299, allocations: 57.53 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.9299, allocations: 81.11 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.9301, allocations: 154.2 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.9301, allocations: 29.7 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.9302, allocations: 104 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.9302, allocations: 3.953 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.9303, allocations: 21.67 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.9304, allocations: 319.1 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.9304, allocations: 8 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.9304, allocations: 25.7 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.9305, allocations: 25.66 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9305, allocations: 0 / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.114e-05/0.9306, allocations: 57.66 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9306, allocations: 13.94 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9306, allocations: 11.81 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9306, allocations: 3.984 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.9307, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.9307, allocations: 7.938 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.9307, allocations: 3.938 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.9307, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 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.115e-05/0.9308, allocations: 113.8 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.9309, allocations: 7.953 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.9309, allocations: 23.8 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.9309, allocations: 0 / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9309, allocations: 0 / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9309, allocations: 4 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.9313, allocations: 474.7 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.9313, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.9313, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.9313, allocations: 4 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.9314, allocations: 4.062 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9314, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9314, allocations: 3.984 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.9315, allocations: 81.81 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.9315, allocations: 85.06 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.9316, allocations: 7.984 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.9316, allocations: 8.031 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.9316, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.9316, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.277e-05/0.9317, allocations: 121.3 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9317, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002047/0.9319, allocations: 8 kB / 1.225 GB, free: 13.44 MB / 0.9512 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.0001483/0.932, allocations: 99.33 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.9322, allocations: 23.94 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9322, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.9322, allocations: 8 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.9324, allocations: 15.83 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.9328, allocations: 154.6 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.9331, allocations: 0.7004 MB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.9331, allocations: 8.422 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.9331, allocations: 15.38 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of SimCode: time 6.22e-07/0.9331, allocations: 0 / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of Templates: time 0.002966/0.9361, allocations: 461.4 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches