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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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.001465/0.001465, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001827/0.001827, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.079/2.079, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.691/3.691, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004861, allocations: 16 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.129, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0009784/1.13, allocations: 0.5227 MB / 0.9814 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/1.131, allocations: 35.8 kB / 0.9814 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/1.131, allocations: 0 / 0.9814 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/1.131, allocations: 7.938 kB / 0.9814 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/1.131, allocations: 7.969 kB / 0.9814 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.576e-05/1.131, allocations: 12 kB / 0.9814 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/1.131, allocations: 39.89 kB / 0.9815 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/1.131, allocations: 28.17 kB / 0.9815 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/1.131, allocations: 23.86 kB / 0.9815 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/1.131, allocations: 15.86 kB / 0.9815 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/1.131, allocations: 0 / 0.9815 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/1.131, allocations: 4 kB / 0.9815 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/1.131, allocations: 15.92 kB / 0.9816 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/1.131, allocations: 37.64 kB / 0.9816 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.35e-05/1.131, allocations: 50.12 kB / 0.9816 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/1.131, allocations: 4 kB / 0.9817 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.983e-06/1.131, allocations: 0 / 0.9817 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.131, allocations: 0 / 0.9817 GB, free: 5.445 MB / 0.7325 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.000405/1.132, allocations: 367 kB / 0.982 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.132, allocations: 12.03 kB / 0.982 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/1.132, allocations: 38.55 kB / 0.982 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/1.132, allocations: 15.91 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.132, allocations: 190.9 kB / 0.9822 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/1.132, allocations: 8 kB / 0.9823 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/1.132, allocations: 7.938 kB / 0.9823 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/1.132, allocations: 100.5 kB / 0.9824 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/1.132, allocations: 0 / 0.9824 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/1.132, allocations: 4 kB / 0.9824 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.132, allocations: 0 / 0.9824 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/1.132, allocations: 43.92 kB / 0.9824 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/1.133, allocations: 428.7 kB / 0.9828 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/1.133, allocations: 41.19 kB / 0.9829 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/1.133, allocations: 4 kB / 0.9829 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/1.133, allocations: 34.69 kB / 0.9829 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.133, allocations: 3.938 kB / 0.9829 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/1.133, allocations: 53.53 kB / 0.9829 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.133, allocations: 81.06 kB / 0.983 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/1.133, allocations: 172.3 kB / 0.9832 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.133, allocations: 29.7 kB / 0.9832 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/1.134, allocations: 100 kB / 0.9833 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-06/1.134, allocations: 11.84 kB / 0.9833 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/1.134, allocations: 4 kB / 0.9833 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.134, allocations: 318.8 kB / 0.9836 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/1.134, allocations: 4 kB / 0.9836 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/1.134, allocations: 17.72 kB / 0.9836 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.381e-05/1.134, allocations: 15.94 kB / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.134, allocations: 0 / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/1.134, allocations: 57.59 kB / 0.9837 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.134, allocations: 4 kB / 0.9837 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.134, allocations: 0 / 0.9837 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/1.134, allocations: 0 / 0.9837 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/1.134, allocations: 11.94 kB / 0.9837 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/1.134, allocations: 3.953 kB / 0.9837 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/1.134, allocations: 4 kB / 0.9837 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/1.134, allocations: 4.062 kB / 0.9837 GB, free: 3.043 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/1.134, allocations: 117.8 kB / 0.9839 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/1.134, allocations: 7.906 kB / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/1.134, allocations: 11.88 kB / 0.9839 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.134, allocations: 0 / 0.9839 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.134, allocations: 3.938 kB / 0.9839 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.134, allocations: 3.953 kB / 0.9839 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/1.135, allocations: 474.7 kB / 0.9843 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.135, allocations: 0 / 0.9843 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/1.135, allocations: 7.984 kB / 0.9843 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.135, allocations: 0 / 0.9843 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/1.135, allocations: 0 / 0.9843 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/1.135, allocations: 7.953 kB / 0.9844 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.135, allocations: 0 / 0.9844 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.604e-05/1.135, allocations: 87.62 kB / 0.9844 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/1.135, allocations: 93 kB / 0.9845 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.135, allocations: 3.953 kB / 0.9845 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/1.135, allocations: 0 / 0.9845 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/1.135, allocations: 0 / 0.9845 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/1.135, allocations: 8 kB / 0.9845 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.413e-05/1.135, allocations: 117.1 kB / 0.9846 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.135, allocations: 4.031 kB / 0.9847 GB, free: 2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001921/1.135, allocations: 19.88 kB / 0.9847 GB, free: 1.98 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000421/1.136, allocations: 0.6963 MB / 0.9854 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.106e-05/1.136, allocations: 16.02 kB / 0.9854 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.136, allocations: 0 / 0.9854 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/1.136, allocations: 11.94 kB / 0.9854 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/1.136, allocations: 8 kB / 0.9854 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/1.137, allocations: 0.6987 MB / 0.9861 GB, free: 460 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/1.137, allocations: 0.6965 MB / 0.9867 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.806e-05/1.137, allocations: 12.59 kB / 0.9868 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/1.137, allocations: 27.42 kB / 0.9868 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/1.137, allocations: 0 / 0.9868 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/1.148, allocations: 1.465 MB / 0.9882 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.148, allocations: 192.7 kB / 0.9884 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.988, allocations: 5.891 kB / 0.9884 GB, free: 14.12 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat does not exist to compare? outputFormat=mat