Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_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.006874/0.006874, allocations: 102.8 kB / 15.73 MB, free: 5.539 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.00174/0.00174, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.09 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.886, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002548/0.8886, allocations: 0.8306 MB / 1.208 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.8888, allocations: 51.78 kB / 1.208 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.8889, allocations: 0 / 1.208 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.93e-05/0.889, allocations: 7.875 kB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.8892, allocations: 7.875 kB / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.9e-05/0.8893, allocations: 19.97 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.8894, allocations: 63.84 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.8896, allocations: 43.92 kB / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.8897, allocations: 23.92 kB / 1.208 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.8898, allocations: 31.73 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.8898, allocations: 8 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.8898, allocations: 4 kB / 1.208 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.8899, allocations: 23.91 kB / 1.208 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.8899, allocations: 27.81 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.8901, allocations: 73.95 kB / 1.208 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8901, allocations: 4 kB / 1.208 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8901, allocations: 0 / 1.208 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.8901, allocations: 0 / 1.208 GB, free: 12.39 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.0005666/0.8907, allocations: 379.1 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.8907, allocations: 8.031 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.8908, allocations: 42.73 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.8908, allocations: 12.84 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.8911, allocations: 196.1 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.8911, allocations: 4.375 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.8912, allocations: 12.38 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.8914, allocations: 97.69 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.8914, allocations: 3.938 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.8914, allocations: 4 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8914, allocations: 4 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.368e-05/0.8915, allocations: 35.98 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.8921, allocations: 436.5 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.189e-05/0.8922, allocations: 41.22 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.8922, allocations: 17.81 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.8923, allocations: 7.984 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.8923, allocations: 38.56 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.8923, allocations: 0 / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002163/0.8925, allocations: 53.48 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.8926, allocations: 77.11 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.8928, allocations: 156.3 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.8928, allocations: 33.7 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.8929, allocations: 104.2 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.8929, allocations: 7.906 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.8929, allocations: 17.72 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8931, allocations: 318.8 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.8931, allocations: 4 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.8931, allocations: 21.7 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.8932, allocations: 29.66 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8932, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.786e-05/0.8933, allocations: 53.61 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8933, allocations: 11.88 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8933, allocations: 7.984 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8933, allocations: 0 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.8934, allocations: 4 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8934, allocations: 0 / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.8934, allocations: 7.906 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.8935, allocations: 3.938 kB / 1.211 GB, free: 9.906 MB / 0.9356 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.475e-05/0.8935, allocations: 117.9 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.8936, allocations: 11.84 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.8936, allocations: 15.95 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8936, allocations: 3.984 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8936, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8937, allocations: 4 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.894, allocations: 470.8 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8941, allocations: 4 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.8941, allocations: 0 / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.8941, allocations: 7.938 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.8941, allocations: 4 kB / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8941, allocations: 0 / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8941, allocations: 0 / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.8942, allocations: 89.83 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.8943, allocations: 88.95 kB / 1.211 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.8943, allocations: 3.984 kB / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.8943, allocations: 0 / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.8944, allocations: 4 kB / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.8944, allocations: 4 kB / 1.211 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.982e-05/0.8945, allocations: 121.7 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8945, allocations: 0 / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002036/0.8947, allocations: 11.91 kB / 1.212 GB, free: 8.848 MB / 0.9356 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.0003756/0.8951, allocations: 0.6171 MB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.8951, allocations: 16 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8952, allocations: 4.156 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.8952, allocations: 7.938 kB / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.8953, allocations: 8 kB / 1.212 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.8968, allocations: 1.328 MB / 1.213 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.8971, allocations: 0.7001 MB / 1.214 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.8972, allocations: 4.438 kB / 1.214 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.8972, allocations: 23.42 kB / 1.214 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8972, allocations: 0 / 1.214 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.9156, allocations: 1.609 MB / 1.216 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/8.386, allocations: 0 / 1.216 GB, free: 4.488 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches