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 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.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.001772/0.001772, allocations: 100.2 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.001777/0.001777, 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.564/2.564, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.794/4.794, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006382/0.0006379, allocations: 12 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.18, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001805/1.182, allocations: 0.5227 MB / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/1.182, allocations: 35.8 kB / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/1.182, allocations: 0 / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/1.182, allocations: 7.922 kB / 0.9814 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.627e-05/1.183, allocations: 7.984 kB / 0.9814 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.493e-05/1.183, allocations: 11.98 kB / 0.9814 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/1.183, allocations: 35.91 kB / 0.9815 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/1.183, allocations: 36.16 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/1.183, allocations: 15.88 kB / 0.9815 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/1.183, allocations: 19.84 kB / 0.9815 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/1.183, allocations: 4 kB / 0.9815 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-06/1.183, allocations: 0 / 0.9815 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/1.183, allocations: 11.94 kB / 0.9816 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/1.183, allocations: 41.64 kB / 0.9816 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/1.183, allocations: 46.14 kB / 0.9816 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.183, allocations: 0 / 0.9816 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.545e-06/1.183, allocations: 0 / 0.9816 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.049e-06/1.183, allocations: 0 / 0.9816 GB, free: 5.5 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.0008479/1.184, allocations: 375 kB / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.184, allocations: 8.031 kB / 0.982 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/1.184, allocations: 38.56 kB / 0.982 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/1.184, allocations: 7.906 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/1.185, allocations: 195 kB / 0.9822 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/1.185, allocations: 8 kB / 0.9822 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/1.185, allocations: 7.938 kB / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/1.185, allocations: 100.4 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.185, allocations: 0 / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.185, allocations: 0 / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.185, allocations: 4 kB / 0.9824 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.185, allocations: 39.92 kB / 0.9824 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/1.186, allocations: 432.7 kB / 0.9828 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/1.186, allocations: 41.25 kB / 0.9828 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/1.186, allocations: 4 kB / 0.9828 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/1.186, allocations: 30.56 kB / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.186, allocations: 3.938 kB / 0.9829 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002223/1.186, allocations: 53.61 kB / 0.9829 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.187, allocations: 85.05 kB / 0.983 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/1.187, allocations: 166.6 kB / 0.9832 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.187, allocations: 25.95 kB / 0.9832 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/1.187, allocations: 108 kB / 0.9833 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/1.187, allocations: 7.844 kB / 0.9833 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.187, allocations: 0 / 0.9833 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0004213/1.187, allocations: 322.8 kB / 0.9836 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/1.187, allocations: 4 kB / 0.9836 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/1.187, allocations: 21.7 kB / 0.9836 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/1.188, allocations: 11.94 kB / 0.9837 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.188, allocations: 4 kB / 0.9837 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/1.188, allocations: 49.61 kB / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.188, allocations: 8 kB / 0.9837 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.188, allocations: 0 / 0.9837 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.188, allocations: 3.984 kB / 0.9837 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/1.188, allocations: 4 kB / 0.9837 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/1.188, allocations: 11.89 kB / 0.9837 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/1.188, allocations: 4 kB / 0.9837 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/1.188, allocations: 4 kB / 0.9837 GB, free: 3.098 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 0.0001066/1.188, allocations: 109.9 kB / 0.9838 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/1.188, allocations: 11.91 kB / 0.9839 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/1.188, allocations: 11.86 kB / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.188, allocations: 0 / 0.9839 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.188, allocations: 4 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.188, allocations: 7.891 kB / 0.9839 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/1.189, allocations: 478.7 kB / 0.9843 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.189, allocations: 4 kB / 0.9843 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/1.189, allocations: 4 kB / 0.9843 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.189, allocations: 0 / 0.9843 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/1.189, allocations: 0 / 0.9843 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.189, allocations: 3.953 kB / 0.9843 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.189, allocations: 96 / 0.9843 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/1.189, allocations: 103.6 kB / 0.9844 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/1.189, allocations: 81.02 kB / 0.9845 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/1.189, allocations: 11.94 kB / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/1.189, allocations: 0 / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/1.189, allocations: 0 / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/1.189, allocations: 0 / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001395/1.189, allocations: 121.1 kB / 0.9846 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.189, allocations: 0 / 0.9846 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002898/1.19, allocations: 23.91 kB / 0.9847 GB, free: 2.027 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.0006447/1.19, allocations: 0.6914 MB / 0.9853 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001249/1.191, allocations: 20.03 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.191, allocations: 0 / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/1.191, allocations: 4 kB / 0.9854 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/1.191, allocations: 11.94 kB / 0.9854 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/1.192, allocations: 0.6949 MB / 0.9861 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/1.192, allocations: 0.7043 MB / 0.9867 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.391e-05/1.192, allocations: 8.422 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/1.193, allocations: 23.44 kB / 0.9868 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/1.193, allocations: 0 / 0.9868 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06403/1.257, allocations: 1.477 MB / 0.9882 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/1.257, allocations: 191 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/4.1, allocations: 0 / 0.9884 GB, free: 14.18 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat does not exist to compare? outputFormat=mat