Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_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.001283/0.001283, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.49/2.49, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.33 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2355, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00222/0.2377, allocations: 0.8349 MB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.2379, allocations: 43.78 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.2379, allocations: 0 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.238, allocations: 7.875 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.2381, allocations: 11.86 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.455e-05/0.2381, allocations: 19.98 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.2382, allocations: 59.86 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2384, allocations: 51.95 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.2385, allocations: 23.88 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.2385, allocations: 35.84 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2385, allocations: 7.984 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2386, allocations: 8 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.2386, allocations: 11.88 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.2386, allocations: 39.73 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.2387, allocations: 64 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2387, allocations: 0 / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2387, allocations: 0 / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2387, allocations: 0 / 1.054 GB, free: 7.035 MB / 0.8106 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.0003755/0.2391, allocations: 379.3 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2392, allocations: 12.62 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.2392, allocations: 34.75 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2392, allocations: 8.844 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2394, allocations: 204.1 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2394, allocations: 12.28 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2394, allocations: 8.312 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2396, allocations: 87.95 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2396, allocations: 7.938 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2396, allocations: 8 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2396, allocations: 3.938 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.2397, allocations: 35.92 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2402, allocations: 436.5 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.708e-05/0.2403, allocations: 41.28 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.2403, allocations: 21.84 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.2403, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2403, allocations: 30.56 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2403, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.2405, allocations: 65.47 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.2406, allocations: 77.11 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2407, allocations: 164.8 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.2407, allocations: 25.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.2408, allocations: 100 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.2408, allocations: 7.906 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.2408, allocations: 13.72 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.2409, allocations: 327.1 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.241, allocations: 11.94 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.241, allocations: 13.72 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.241, allocations: 29.7 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.241, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.011e-05/0.2411, allocations: 53.61 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2411, allocations: 15.94 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2412, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2412, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.2412, allocations: 15.98 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2413, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.2413, allocations: 11.84 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2413, allocations: 4 kB / 1.056 GB, free: 4.543 MB / 0.8106 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 6.233e-05/0.2414, allocations: 109.8 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2414, allocations: 15.84 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.2414, allocations: 7.875 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2415, allocations: 3.938 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2415, allocations: 4 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2415, allocations: 3.984 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.2418, allocations: 474.8 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2418, allocations: 0 / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.2418, allocations: 7.938 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2418, allocations: 4.062 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.2418, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2419, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2419, allocations: 3.938 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.074e-05/0.2419, allocations: 81.83 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.242, allocations: 85.02 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.242, allocations: 8.031 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.242, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.242, allocations: 4.078 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.2421, allocations: 3.984 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.2421, allocations: 115.3 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2421, allocations: 3.938 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001813/0.2423, allocations: 8 kB / 1.057 GB, free: 3.504 MB / 0.8106 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.000299/0.2426, allocations: 0.6171 MB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.2427, allocations: 19.92 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2427, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-06/0.2427, allocations: 8 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.2429, allocations: 6 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.2439, allocations: 1.323 MB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.2441, allocations: 0.7002 MB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.2441, allocations: 4.438 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2442, allocations: 27.42 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2442, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.2603, allocations: 1.548 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/7.004, allocations: 11.86 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches