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.001172/0.001172, allocations: 92 kB / 15.06 MB, free: 1.098 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.001542/0.001542, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.535/2.535, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003865, allocations: 8 kB / 0.8378 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8037, allocations: 146.8 MB / 0.9811 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00106/0.8049, allocations: 0.5147 MB / 0.9816 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001347/0.805, allocations: 43.78 kB / 0.9817 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.8051, allocations: 4 kB / 0.9817 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.8051, allocations: 7.922 kB / 0.9817 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.8052, allocations: 3.938 kB / 0.9817 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.352e-05/0.8053, allocations: 15.98 kB / 0.9817 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.8054, allocations: 51.8 kB / 0.9818 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.8055, allocations: 40.14 kB / 0.9818 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.8056, allocations: 15.88 kB / 0.9818 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.8056, allocations: 15.86 kB / 0.9818 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.8057, allocations: 4 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.8057, allocations: 0 / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.8057, allocations: 15.92 kB / 0.9818 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.8057, allocations: 37.64 kB / 0.9819 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.076e-05/0.8058, allocations: 50.12 kB / 0.9819 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8058, allocations: 0 / 0.9819 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8059, allocations: 0 / 0.9819 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.8059, allocations: 4 kB / 0.9819 GB, free: 5.496 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.0004183/0.8063, allocations: 371 kB / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.8063, allocations: 15.97 kB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.8064, allocations: 38.55 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.8064, allocations: 7.906 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.8067, allocations: 186.9 kB / 0.9825 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.8067, allocations: 8 kB / 0.9825 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.8067, allocations: 4 kB / 0.9825 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.8069, allocations: 105 kB / 0.9826 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.8069, allocations: 3.938 kB / 0.9826 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.8069, allocations: 0 / 0.9826 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.807, allocations: 4 kB / 0.9826 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.8071, allocations: 35.98 kB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.8077, allocations: 432.8 kB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.8078, allocations: 41.09 kB / 0.9831 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.8078, allocations: 21.83 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.8078, allocations: 4 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.8079, allocations: 38.5 kB / 0.9832 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.8079, allocations: 0 / 0.9832 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.8081, allocations: 49.56 kB / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.8081, allocations: 85.05 kB / 0.9833 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.8083, allocations: 168 kB / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.8083, allocations: 25.7 kB / 0.9835 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.8084, allocations: 108.3 kB / 0.9836 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.8084, allocations: 7.844 kB / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.8084, allocations: 0 / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8085, allocations: 318.8 kB / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.8086, allocations: 8 kB / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.8086, allocations: 17.66 kB / 0.9839 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.8086, allocations: 15.98 kB / 0.984 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8086, allocations: 4 kB / 0.984 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.866e-05/0.8087, allocations: 57.55 kB / 0.984 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8087, allocations: 4 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8087, allocations: 4 kB / 0.984 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.8088, allocations: 3.938 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.8088, allocations: 7.984 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.8088, allocations: 3.953 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.8089, allocations: 4 kB / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.8089, allocations: 0 / 0.984 GB, free: 3.07 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 8.234e-05/0.809, allocations: 117.9 kB / 0.9842 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.809, allocations: 7.906 kB / 0.9842 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.809, allocations: 11.88 kB / 0.9842 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8091, allocations: 0 / 0.9842 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.8091, allocations: 4 kB / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.8091, allocations: 7.938 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.8095, allocations: 470.8 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8095, allocations: 0 / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.8096, allocations: 7.938 kB / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8096, allocations: 0 / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.8096, allocations: 7.953 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8096, allocations: 0 / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8096, allocations: 0 / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.288e-05/0.8097, allocations: 82.02 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.8097, allocations: 89 kB / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.8098, allocations: 0 / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.8098, allocations: 3.953 kB / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.8098, allocations: 7.984 kB / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.8098, allocations: 0 / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.137e-05/0.8099, allocations: 121.1 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.823e-06/0.8099, allocations: 0 / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001891/0.8101, allocations: 15.88 kB / 0.985 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.0004257/0.8105, allocations: 0.6094 MB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.586e-05/0.8106, allocations: 23.92 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8106, allocations: 0 / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.8107, allocations: 8.156 kB / 0.9856 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.8108, allocations: 10.88 kB / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008941/0.8117, allocations: 0.5448 MB / 0.9861 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.8121, allocations: 0.6965 MB / 0.9868 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.8121, allocations: 8.422 kB / 0.9868 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.8122, allocations: 23.52 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.8122, allocations: 4.062 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.8268, allocations: 1.478 MB / 0.9883 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.827, allocations: 200.8 kB / 0.9885 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.549, allocations: 3.938 kB / 0.9885 GB, free: 14.4 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