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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008932/0.0008933, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005064/0.005064, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.568/2.568, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 12.66 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2388, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0009144/0.2398, allocations: 0.5453 MB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.2399, allocations: 39.84 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.24, allocations: 3.938 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.24, allocations: 0 / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.2401, allocations: 7.938 kB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.064e-05/0.2401, allocations: 19.98 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.2402, allocations: 59.78 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2403, allocations: 31.97 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.2404, allocations: 23.88 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.2404, allocations: 19.86 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2404, allocations: 0 / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.2405, allocations: 4 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.2405, allocations: 7.922 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.2405, allocations: 61.44 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.983e-05/0.2406, allocations: 59.98 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2406, allocations: 0 / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2406, allocations: 3.938 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2406, allocations: 0 / 1.06 GB, free: 3.941 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.0003394/0.241, allocations: 379.3 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.241, allocations: 11.97 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.2411, allocations: 38.75 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.2411, allocations: 8.844 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2413, allocations: 192.2 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2413, allocations: 8.375 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2413, allocations: 4.375 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.2415, allocations: 101.5 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2415, allocations: 7.875 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2415, allocations: 4 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2415, allocations: 4 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.2416, allocations: 27.98 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.242, allocations: 444.5 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.2421, allocations: 37.22 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.2421, allocations: 21.81 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.2421, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2422, allocations: 38.56 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2422, allocations: 0 / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000151/0.2423, allocations: 57.47 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2424, allocations: 77.11 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2425, allocations: 167.6 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.2425, allocations: 25.7 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.2426, allocations: 103.9 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.2426, allocations: 8 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.2426, allocations: 13.97 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.2427, allocations: 322.8 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.2427, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.2428, allocations: 21.72 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.2428, allocations: 25.66 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2428, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.083e-05/0.2429, allocations: 61.59 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2429, allocations: 15.88 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2429, allocations: 4 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.2429, allocations: 96 / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.243, allocations: 7.984 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.243, allocations: 4 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.243, allocations: 7.844 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2431, allocations: 4 kB / 1.062 GB, free: 1.461 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.293e-05/0.2431, allocations: 117.8 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.2432, allocations: 15.84 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2432, allocations: 11.88 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2432, allocations: 0 / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2432, allocations: 4 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.2432, allocations: 3.938 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.2435, allocations: 466.8 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2436, allocations: 0 / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.2436, allocations: 12.05 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2436, allocations: 0 / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.2436, allocations: 4 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2436, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2436, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.261e-05/0.2437, allocations: 77.78 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.2437, allocations: 96.94 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2438, allocations: 4 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.2438, allocations: 4 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.2438, allocations: 0 / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.2438, allocations: 0 / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.015e-05/0.2439, allocations: 122.1 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2439, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001831/0.2441, allocations: 8 kB / 1.063 GB, free: 432 kB / 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.0003034/0.2444, allocations: 0.6209 MB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.2445, allocations: 12 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2445, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.2445, allocations: 11.92 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.2446, allocations: 12.28 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.2456, allocations: 1.335 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.2458, allocations: 0.6964 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.2459, allocations: 8.422 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.2459, allocations: 27.42 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.2459, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7674/1.013, allocations: 1.373 MB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.014, allocations: 216 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.539, allocations: 2.391 kB / 1.067 GB, free: 12.06 MB / 0.8262 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