Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_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.001509/0.001509, 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.001423/0.001423, allocations: 196 kB / 16.53 MB, free: 6.699 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 64.02 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2424, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001836/0.2442, allocations: 0.8242 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.475e-05/0.2443, allocations: 47.78 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.2444, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.2444, allocations: 11.86 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.2445, allocations: 11.88 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.055e-05/0.2445, allocations: 15.98 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.2446, allocations: 63.84 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2448, allocations: 43.95 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.2448, allocations: 27.86 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.2449, allocations: 27.8 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2449, allocations: 8 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.2449, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2449, allocations: 15.92 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.245, allocations: 31.75 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.348e-05/0.2451, allocations: 79.97 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2451, allocations: 3.938 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2451, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.2451, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 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.0003799/0.2455, allocations: 367.3 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.2455, allocations: 8.031 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.2456, allocations: 42.73 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.2456, allocations: 12.75 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.2458, allocations: 204.1 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2458, allocations: 8.375 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2458, allocations: 8.375 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.246, allocations: 83.95 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.246, allocations: 7.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.246, allocations: 8 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.246, allocations: 0 / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.649e-05/0.2461, allocations: 35.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.2466, allocations: 440.5 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.2466, allocations: 41.27 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.2467, allocations: 25.84 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.2467, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2467, allocations: 30.56 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.2467, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.2468, allocations: 53.48 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.2469, allocations: 85.09 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.247, allocations: 173.2 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2471, allocations: 25.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.2471, allocations: 105.9 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.2471, allocations: 3.906 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.2472, allocations: 17.7 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2473, allocations: 318.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.2473, allocations: 7.984 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.2473, allocations: 21.72 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.2474, allocations: 25.72 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2474, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.866e-05/0.2475, allocations: 57.53 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2475, allocations: 11.94 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2475, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2475, allocations: 96 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.2476, allocations: 8 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2476, allocations: 8.062 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.2476, allocations: 11.83 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.2476, allocations: 3.938 kB / 1.067 GB, free: 10.51 MB / 0.8262 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.358e-05/0.2477, allocations: 121.7 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.2478, allocations: 11.84 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.2478, allocations: 11.86 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2478, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2478, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2478, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.2482, allocations: 474.8 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2482, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.2482, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2482, allocations: 4 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.2482, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2482, allocations: 3.984 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2482, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.085e-05/0.2483, allocations: 81.91 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.2484, allocations: 89 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2484, allocations: 0 / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.2484, allocations: 8 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.2484, allocations: 3.938 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/0.2484, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.2485, allocations: 123.3 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2485, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001766/0.2487, allocations: 12 kB / 1.068 GB, free: 9.465 MB / 0.8262 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.0003502/0.2491, allocations: 0.6131 MB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.2491, allocations: 23.97 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2492, allocations: 0 / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.2492, allocations: 8 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.2493, allocations: 13.39 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.2504, allocations: 1.311 MB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.2507, allocations: 0.6924 MB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.2507, allocations: 8.422 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.2507, allocations: 27.44 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2507, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.442/1.693, allocations: 1.536 MB / 1.072 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/10.23, allocations: 19.86 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches