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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005137/0.005137, allocations: 101.1 kB / 15.73 MB, free: 6.066 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.001431/0.001431, allocations: 189.6 kB / 16.67 MB, free: 5.977 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.573/2.573, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 69.08 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2647, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001659/0.2663, allocations: 0.8256 MB / 1.243 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001013/0.2665, allocations: 35.86 kB / 1.243 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.2665, allocations: 3.938 kB / 1.243 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.2666, allocations: 19.8 kB / 1.243 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.2666, allocations: 11.88 kB / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.803e-05/0.2667, allocations: 15.98 kB / 1.243 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.2668, allocations: 59.89 kB / 1.243 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2669, allocations: 43.95 kB / 1.243 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.2669, allocations: 27.81 kB / 1.243 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.267, allocations: 31.78 kB / 1.243 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.267, allocations: 8 kB / 1.243 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.267, allocations: 4 kB / 1.243 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.2671, allocations: 15.94 kB / 1.243 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.2671, allocations: 35.8 kB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.2672, allocations: 75.8 kB / 1.243 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2672, allocations: 0 / 1.243 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2672, allocations: 0 / 1.243 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2672, allocations: 4 kB / 1.243 GB, free: 7.699 MB / 0.9669 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.0003948/0.2676, allocations: 387.1 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2677, allocations: 12.03 kB / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.2677, allocations: 38.73 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.2678, allocations: 8.891 kB / 1.243 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.2679, allocations: 188.3 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.268, allocations: 8.312 kB / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.268, allocations: 12.31 kB / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2681, allocations: 93.67 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2681, allocations: 3.938 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2682, allocations: 4 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2682, allocations: 3.984 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.2682, allocations: 39.92 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.2687, allocations: 440.7 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.2688, allocations: 41.19 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.2688, allocations: 17.84 kB / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-06/0.2688, allocations: 0 / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2689, allocations: 38.55 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2689, allocations: 4 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.269, allocations: 53.53 kB / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2691, allocations: 81.11 kB / 1.244 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2692, allocations: 160.1 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2692, allocations: 25.7 kB / 1.245 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.2693, allocations: 100.1 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.2693, allocations: 7.891 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.2694, allocations: 25.91 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2695, allocations: 322.8 kB / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.2695, allocations: 0 / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.2695, allocations: 25.66 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.2696, allocations: 25.7 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2696, allocations: 0 / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.206e-05/0.2697, allocations: 61.59 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2697, allocations: 11.94 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2697, allocations: 0 / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.2697, allocations: 0 / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.2698, allocations: 11.98 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2698, allocations: 4 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.2698, allocations: 3.953 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2698, allocations: 4.094 kB / 1.245 GB, free: 5.211 MB / 0.9669 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 7.224e-05/0.2699, allocations: 113.9 kB / 1.245 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.27, allocations: 15.88 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.27, allocations: 15.81 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.27, allocations: 3.984 kB / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.27, allocations: 4 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.27, allocations: 0 / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.2704, allocations: 474.7 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2704, allocations: 64 / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.2704, allocations: 8 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2704, allocations: 0 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.2704, allocations: 0 / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2704, allocations: 3.938 kB / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2704, allocations: 0 / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.517e-05/0.2705, allocations: 77.88 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.2706, allocations: 89.09 kB / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2706, allocations: 8 kB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/0.2706, allocations: 0 / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.2706, allocations: 3.984 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.2706, allocations: 0 / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.585e-05/0.2707, allocations: 120.5 kB / 1.246 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2707, allocations: 0 / 1.246 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001745/0.2709, allocations: 11.94 kB / 1.246 GB, free: 4.168 MB / 0.9669 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.0003611/0.2713, allocations: 0.6215 MB / 1.247 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.919e-05/0.2714, allocations: 15.94 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2714, allocations: 0 / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/0.2714, allocations: 4.219 kB / 1.247 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.2715, allocations: 16 kB / 1.247 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2726, allocations: 1.332 MB / 1.248 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2729, allocations: 0.6963 MB / 1.249 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.2729, allocations: 8.438 kB / 1.249 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.273, allocations: 27.42 kB / 1.249 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.273, allocations: 0 / 1.249 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6227/0.8957, allocations: 1.567 MB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16, allocations: 9.172 kB / 1.25 GB, free: 15.83 MB / 0.9825 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=400 --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