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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001378/0.001378, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001662/0.001662, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5054, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001738/0.5072, allocations: 0.8773 MB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000101/0.5073, allocations: 45.22 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.5073, allocations: 1.25 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.5074, allocations: 7.922 kB / 0.95 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.5075, allocations: 5.344 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.474e-05/0.5075, allocations: 14.66 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.5076, allocations: 55.25 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.5077, allocations: 43.03 kB / 0.9501 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.5077, allocations: 22.73 kB / 0.9501 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.5078, allocations: 29.3 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.5078, allocations: 4.125 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.5078, allocations: 4.125 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.5078, allocations: 21.28 kB / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.5079, allocations: 30.67 kB / 0.9502 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.833e-05/0.5079, allocations: 70.34 kB / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5079, allocations: 0 / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5079, allocations: 0 / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.508, allocations: 1.375 kB / 0.9502 GB, free: 8.25 MB / 0.7169 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.0002709/0.5082, allocations: 382.5 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.5083, allocations: 8.25 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.245e-05/0.5083, allocations: 37.5 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.5083, allocations: 14.34 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.5084, allocations: 197.8 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.5085, allocations: 7.125 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.5085, allocations: 5.875 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.5086, allocations: 94.02 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5086, allocations: 3.938 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5086, allocations: 5.375 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5086, allocations: 1.375 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.011e-05/0.5087, allocations: 35.23 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.5091, allocations: 441.9 kB / 0.9514 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.5e-05/0.5091, allocations: 37.27 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.5091, allocations: 23.22 kB / 0.9515 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.5091, allocations: 0 / 0.9515 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.5092, allocations: 39.91 kB / 0.9515 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5092, allocations: 1.375 kB / 0.9515 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.5093, allocations: 57.84 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.5093, allocations: 82.73 kB / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.5094, allocations: 162.8 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.5094, allocations: 26.86 kB / 0.9518 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.5095, allocations: 111.8 kB / 0.9519 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.5095, allocations: 9.422 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.5095, allocations: 13.16 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.5096, allocations: 317.8 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.5096, allocations: 10.7 kB / 0.9523 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.5096, allocations: 19.31 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.5096, allocations: 29.69 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5096, allocations: 0 / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.367e-05/0.5097, allocations: 55 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5097, allocations: 10.53 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5097, allocations: 5.141 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.5097, allocations: 5.281 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.5098, allocations: 9.438 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.5098, allocations: 0 / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.5098, allocations: 6.312 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.5098, allocations: 1.562 kB / 0.9524 GB, free: 6.027 MB / 0.7169 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 4.141e-05/0.5099, allocations: 113.4 kB / 0.9525 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.5099, allocations: 16.58 kB / 0.9525 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.51, allocations: 6.438 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.51, allocations: 1.281 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.51, allocations: 4 kB / 0.9525 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.51, allocations: 1.406 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.5102, allocations: 478.2 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5102, allocations: 0 / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.5103, allocations: 2.656 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5103, allocations: 1.125 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.5103, allocations: 5.578 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5103, allocations: 4.062 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5103, allocations: 1.625 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.156e-05/0.5103, allocations: 77.66 kB / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.5104, allocations: 95.66 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.5104, allocations: 1.469 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.5104, allocations: 1.281 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.5104, allocations: 5.438 kB / 0.9532 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.5104, allocations: 4 kB / 0.9532 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.753e-05/0.5105, allocations: 125.5 kB / 0.9533 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5105, allocations: 3.938 kB / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001772/0.5107, allocations: 10.94 kB / 0.9533 GB, free: 5.066 MB / 0.7169 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.0001828/0.5109, allocations: 0.619 MB / 0.9539 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.5109, allocations: 15.41 kB / 0.954 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5109, allocations: 0 / 0.954 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.511, allocations: 15.73 kB / 0.954 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.5111, allocations: 4.406 kB / 0.954 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.5118, allocations: 1.343 MB / 0.9553 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.5119, allocations: 0.6951 MB / 0.956 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.512, allocations: 8.547 kB / 0.956 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.512, allocations: 27.45 kB / 0.956 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.512, allocations: 0 / 0.956 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8785/1.391, allocations: 1.41 MB / 0.9574 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.391, allocations: 212.6 kB / 0.9576 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.863, allocations: 0 / 0.9576 GB, free: 1.473 MB / 0.7169 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