Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007972/0.00798, allocations: 104.4 kB / 15.73 MB, free: 6.473 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.001883/0.001883, allocations: 196.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.227/2.227, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.985/3.985, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 64.19 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4508, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.003104/0.4539, allocations: 0.8253 MB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000211/0.4542, allocations: 39.84 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.4543, allocations: 0 / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.083e-05/0.4544, allocations: 15.86 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.4545, allocations: 11.88 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.563e-05/0.4546, allocations: 19.98 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.4548, allocations: 55.84 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.455, allocations: 47.95 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.4551, allocations: 27.8 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.4552, allocations: 31.84 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.4552, allocations: 4 kB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.4552, allocations: 8 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.4553, allocations: 11.94 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.4554, allocations: 43.73 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.4555, allocations: 70.45 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4555, allocations: 4 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4556, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.4556, allocations: 4 kB / 1.089 GB, free: 0.7852 MB / 0.8419 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.000589/0.4562, allocations: 380.1 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.4562, allocations: 8.031 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/0.4563, allocations: 42.75 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.4564, allocations: 12.75 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.4567, allocations: 188.2 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4567, allocations: 8.312 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4567, allocations: 8.375 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.457, allocations: 97.52 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.457, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4571, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.4571, allocations: 8 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.4572, allocations: 35.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.458, allocations: 432.6 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.4581, allocations: 45.19 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.4582, allocations: 21.78 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.4582, allocations: 3.984 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4583, allocations: 34.56 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.973e-06/0.4583, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002978/0.4586, allocations: 61.47 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.4587, allocations: 77.11 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.459, allocations: 159.9 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.459, allocations: 25.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4591, allocations: 104 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.4591, allocations: 7.844 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.4592, allocations: 21.97 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4594, allocations: 322.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.4594, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.4595, allocations: 21.66 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.852e-05/0.4596, allocations: 21.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4596, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001533/0.4597, allocations: 69.53 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.4598, allocations: 7.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4598, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4598, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.46, allocations: 8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.46, allocations: 3.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.4601, allocations: 7.844 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4601, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 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 0.0001178/0.4602, allocations: 117.9 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.4603, allocations: 11.84 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.4603, allocations: 7.875 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4604, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4604, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4604, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.461, allocations: 470.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4611, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.4611, allocations: 8.062 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4611, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4611, allocations: 3.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4612, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4612, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.4613, allocations: 81.83 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.4614, allocations: 89.05 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.4614, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.4615, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.4615, allocations: 8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.4616, allocations: 11.92 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001493/0.4617, allocations: 117.1 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.276e-06/0.4617, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003754/0.4621, allocations: 7.938 kB / 1.092 GB, free: 13.26 MB / 0.8575 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.0005645/0.4627, allocations: 0.6209 MB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.4628, allocations: 23.92 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4628, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.4629, allocations: 4.219 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4632, allocations: 15.97 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.4651, allocations: 1.328 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.4655, allocations: 0.6929 MB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.47e-05/0.4655, allocations: 12.42 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.4656, allocations: 23.42 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of SimCode: time 6.71e-07/0.4656, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.4955, allocations: 1.573 MB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.27, allocations: 0 / 1.096 GB, free: 8.91 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches