Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 180.8 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.798/1.798, allocations: 221.3 MB / 0.7872 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009487, allocations: 93.77 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.212e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2674, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9318/1.199, allocations: 148.7 MB / 1.358 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.199, allocations: 66.88 kB / 1.358 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003427/1.203, allocations: 1.088 MB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.973e-06/1.203, allocations: 0.7969 kB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.587e-05/1.203, allocations: 3.812 kB / 1.359 GB, free: 34.73 MB / 0.8386 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.0002902/1.203, allocations: 358.9 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.203, allocations: 8.188 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/1.203, allocations: 43.45 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/1.203, allocations: 7.688 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.204, allocations: 188.2 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.204, allocations: 7.781 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/1.204, allocations: 11.67 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/1.204, allocations: 86.66 kB / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.204, allocations: 0 / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.204, allocations: 0.6094 kB / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.204, allocations: 3.875 kB / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/1.204, allocations: 44.83 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/1.205, allocations: 448.4 kB / 1.36 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/1.205, allocations: 36.53 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/1.205, allocations: 20.81 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/1.205, allocations: 0.6094 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.205, allocations: 43.09 kB / 1.36 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/1.205, allocations: 3.938 kB / 1.36 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001601/1.205, allocations: 46.34 kB / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.205, allocations: 77.86 kB / 1.36 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/1.205, allocations: 150.2 kB / 1.36 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/1.205, allocations: 25.7 kB / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/1.205, allocations: 105.2 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/1.205, allocations: 4.562 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/1.205, allocations: 4.062 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.205, allocations: 320.7 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/1.205, allocations: 6.938 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/1.205, allocations: 22.42 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/1.205, allocations: 11.56 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.205, allocations: 0 / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.74e-05/1.205, allocations: 65.98 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.205, allocations: 3.875 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.205, allocations: 0.7031 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/1.205, allocations: 1.422 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/1.206, allocations: 8.391 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.206, allocations: 0.6562 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/1.206, allocations: 11.69 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/1.206, allocations: 0.625 kB / 1.361 GB, free: 32.82 MB / 0.8386 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 () * 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 5.548e-05/1.206, allocations: 106.7 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.206, allocations: 18.59 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/1.206, allocations: 5.859 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.206, allocations: 3.625 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.206, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.206, allocations: 0.6094 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/1.206, allocations: 475.2 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.206, allocations: 0 / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/1.206, allocations: 8.906 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.206, allocations: 3.875 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/1.206, allocations: 8.594 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.206, allocations: 3.938 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.206, allocations: 0 / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.788e-05/1.206, allocations: 88.56 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/1.206, allocations: 91.66 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/1.206, allocations: 3.844 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/1.206, allocations: 0 / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/1.206, allocations: 4.312 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/1.206, allocations: 0 / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.851e-05/1.207, allocations: 122.3 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.207, allocations: 0 / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002063/1.207, allocations: 16.33 kB / 1.362 GB, free: 31.94 MB / 0.8386 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 () * 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.0003538/1.207, allocations: 0.6936 MB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.555e-05/1.207, allocations: 19.31 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.207, allocations: 0 / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/1.207, allocations: 11.58 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/1.207, allocations: 14.58 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/1.208, allocations: 135.2 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.208, allocations: 0.696 MB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.867e-05/1.208, allocations: 11.08 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/1.208, allocations: 23.12 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.208, allocations: 0 / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/1.222, allocations: 1.432 MB / 1.365 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.222, allocations: 158.3 kB / 1.365 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.822, allocations: 4 kB / 1.365 GB, free: 30 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat does not exist to compare? outputFormat=mat