Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.007594/0.007594, allocations: 100.7 kB / 15.73 MB, free: 5.988 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.002002/0.002002, allocations: 197.1 kB / 16.67 MB, free: 5.926 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.398/2.398, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 4.266/4.266, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.72 kB / 0.9504 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4543, allocations: 140.4 MB / 1.087 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003515/0.4579, allocations: 0.8176 MB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002167/0.4582, allocations: 43.78 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.4583, allocations: 3.938 kB / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.677e-05/0.4584, allocations: 11.86 kB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.4585, allocations: 11.94 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.935e-05/0.4586, allocations: 19.98 kB / 1.088 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.4588, allocations: 59.78 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.4591, allocations: 43.94 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.4592, allocations: 27.88 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.4593, allocations: 27.84 kB / 1.089 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.4593, allocations: 8 kB / 1.089 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.958e-05/0.4594, allocations: 8 kB / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.4594, allocations: 11.94 kB / 1.089 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.4595, allocations: 39.73 kB / 1.089 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.4597, allocations: 74.45 kB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4597, allocations: 0 / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4597, allocations: 0 / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.4598, allocations: 0 / 1.089 GB, free: 0.9297 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.0006731/0.4604, allocations: 388.1 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.4605, allocations: 12.03 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.895e-05/0.4606, allocations: 34.75 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.4607, allocations: 16.73 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.461, allocations: 192.2 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4611, allocations: 8.375 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4611, allocations: 4.375 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.4614, allocations: 89.98 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4614, allocations: 11.94 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4614, allocations: 0 / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4614, allocations: 0 / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.4616, allocations: 43.91 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.4625, allocations: 432.5 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.4626, allocations: 45.28 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.4627, allocations: 21.84 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.4627, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.4628, allocations: 30.56 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.4628, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002862/0.4631, allocations: 65.47 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.4632, allocations: 77.11 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4635, allocations: 159.3 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.4635, allocations: 25.7 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4636, allocations: 100 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.4637, allocations: 11.78 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.4637, allocations: 17.72 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4639, allocations: 327 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.464, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.464, allocations: 21.72 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.4641, allocations: 33.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4641, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.4643, allocations: 53.55 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.4643, allocations: 16 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4644, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4644, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.4645, allocations: 7.984 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.4645, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.4646, allocations: 7.844 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.4646, allocations: 4 kB / 1.091 GB, free: 14.44 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.0001361/0.4648, allocations: 109.8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.4649, allocations: 11.84 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.4649, allocations: 15.97 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4649, allocations: 3.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.465, allocations: 11.92 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.465, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.4656, allocations: 466.8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.4656, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.4657, allocations: 7.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4657, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4657, allocations: 4.062 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4657, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4658, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.4659, allocations: 81.83 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.466, allocations: 85.02 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.466, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.4661, allocations: 4.031 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.4661, allocations: 3.984 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.4661, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001523/0.4663, allocations: 126.6 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.785e-06/0.4663, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003925/0.4667, allocations: 11.94 kB / 1.092 GB, free: 13.4 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.0005387/0.4673, allocations: 0.6171 MB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.4674, allocations: 15.94 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4674, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.4675, allocations: 7.938 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.4678, allocations: 7.906 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.4697, allocations: 1.338 MB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4701, allocations: 0.6929 MB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.328e-05/0.4701, allocations: 8.422 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.4702, allocations: 31.42 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.4702, allocations: 0 / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.4968, allocations: 1.572 MB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.28, allocations: 4.062 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches