Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.318/2.318, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001105/0.001105, allocations: 176.8 kB / 487.4 MB, free: 5.004 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.604/1.604, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 103.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.783e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9874/1.26, allocations: 148.1 MB / 1.351 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.26, allocations: 66.05 kB / 1.351 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003801/1.264, allocations: 1.082 MB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.264, allocations: 0 / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.264, allocations: 2.656 kB / 1.352 GB, free: 33.71 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.0003466/1.265, allocations: 355.6 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.265, allocations: 10.41 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/1.265, allocations: 10.19 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/1.265, allocations: 190.2 kB / 1.352 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/1.265, allocations: 1.312 kB / 1.352 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/1.265, allocations: 5.125 kB / 1.352 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000104/1.265, allocations: 33.33 kB / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/1.265, allocations: 75.88 kB / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.265, allocations: 0 / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/1.265, allocations: 1.219 kB / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.265, allocations: 1.281 kB / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/1.266, allocations: 411.9 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.336e-05/1.266, allocations: 41.67 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/1.266, allocations: 19.28 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/1.266, allocations: 1.25 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/1.266, allocations: 32.5 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.266, allocations: 0 / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/1.266, allocations: 51.45 kB / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/1.266, allocations: 77.72 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.266, allocations: 122 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/1.266, allocations: 27.23 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/1.266, allocations: 105 kB / 1.353 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/1.266, allocations: 8.797 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.266, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.267, allocations: 313.9 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/1.267, allocations: 12.3 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/1.267, allocations: 17.38 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/1.267, allocations: 13.31 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.267, allocations: 0 / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.463e-05/1.267, allocations: 54.92 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.267, allocations: 5.094 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.267, allocations: 1.875 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.267, allocations: 4.062 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/1.267, allocations: 7.141 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/1.267, allocations: 1.984 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/1.267, allocations: 5.188 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/1.267, allocations: 5.188 kB / 1.354 GB, free: 31.89 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 6.824e-05/1.267, allocations: 105.1 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.448e-05/1.267, allocations: 50.8 kB / 1.354 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/1.267, allocations: 5.281 kB / 1.354 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/1.267, allocations: 10.7 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/1.267, allocations: 1.344 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.267, allocations: 0.6562 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.267, allocations: 1.312 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/1.268, allocations: 444.8 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.268, allocations: 0.6562 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/1.268, allocations: 7.219 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.268, allocations: 4.938 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/1.268, allocations: 1.281 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.268, allocations: 7.875 kB / 1.354 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.268, allocations: 2.094 kB / 1.354 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.075e-05/1.268, allocations: 84.03 kB / 1.354 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/1.268, allocations: 89.53 kB / 1.354 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/1.268, allocations: 2.188 kB / 1.355 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/1.268, allocations: 0 / 1.355 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/1.268, allocations: 6.234 kB / 1.355 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/1.268, allocations: 1.312 kB / 1.355 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.807e-05/1.268, allocations: 98.27 kB / 1.355 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 0 / 1.355 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001891/1.268, allocations: 11.81 kB / 1.355 GB, free: 31.01 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.0003899/1.269, allocations: 0.6876 MB / 1.355 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.702e-05/1.269, allocations: 23.06 kB / 1.355 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.269, allocations: 0 / 1.355 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/1.269, allocations: 8.703 kB / 1.355 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/1.269, allocations: 4.125 kB / 1.355 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/1.269, allocations: 137.9 kB / 1.355 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/1.269, allocations: 0.6956 MB / 1.356 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.802e-05/1.269, allocations: 5.922 kB / 1.356 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/1.269, allocations: 20.89 kB / 1.356 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.269, allocations: 4 kB / 1.356 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/1.289, allocations: 0.8826 MB / 1.357 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/1.29, allocations: 147.1 kB / 1.357 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.939, allocations: 0 / 1.357 GB, free: 29.21 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat does not exist to compare? outputFormat=mat