Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001166/0.001167, allocations: 180 kB / 0.4901 GB, free: 2.195 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.59/1.59, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.001035/0.001035, allocations: 99.7 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 15.09 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.309, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.5119, allocations: 150.6 MB / 1.376 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5123, allocations: 79.94 kB / 1.376 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.5227, allocations: 3.49 MB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5227, allocations: 4 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5228, allocations: 4 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003466/0.5231, allocations: 343.3 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5232, allocations: 8.031 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.5232, allocations: 30.56 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.5232, allocations: 7.953 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5234, allocations: 159.1 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5234, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.5234, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.5235, allocations: 41.62 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.5235, allocations: 0 / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.5235, allocations: 3.984 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5235, allocations: 0 / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/0.5236, allocations: 8 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.5237, allocations: 153.7 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/0.5238, allocations: 22.58 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5238, allocations: 4 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.5239, allocations: 34.5 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.5239, allocations: 64 / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.524, allocations: 49.59 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5241, allocations: 51.41 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.5242, allocations: 89 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5242, allocations: 25.7 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.5242, allocations: 84.39 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.5243, allocations: 0 / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.5243, allocations: 4 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5244, allocations: 322.7 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.5244, allocations: 4 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.5244, allocations: 0 / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.5245, allocations: 7.938 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5245, allocations: 0 / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.956e-05/0.5245, allocations: 45.67 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5246, allocations: 4 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5246, allocations: 0 / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5246, allocations: 4 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.5248, allocations: 19.92 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.5251, allocations: 0.5859 MB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.5251, allocations: 0 / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.5252, allocations: 128 / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.5252, allocations: 115.2 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.5253, allocations: 7.984 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.5254, allocations: 40.83 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5254, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5254, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5254, allocations: 7.938 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.5255, allocations: 153.6 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5255, allocations: 4.031 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.5256, allocations: 11.98 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5256, allocations: 0 / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.5256, allocations: 0 / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002978/0.5259, allocations: 0.5897 MB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.526, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.724e-05/0.5261, allocations: 69.25 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.5261, allocations: 77.11 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.5261, allocations: 4 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.5261, allocations: 3.953 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.5262, allocations: 4 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.5262, allocations: 3.938 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.5262, allocations: 79.27 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5262, allocations: 0 / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002069/0.5264, allocations: 16.12 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004434/0.5269, allocations: 0.6086 MB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.527, allocations: 15.98 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5271, allocations: 4.094 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.5271, allocations: 19.86 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.5273, allocations: 13.58 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.5278, allocations: 143.7 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.528, allocations: 0.6731 MB / 1.384 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.528, allocations: 8.047 kB / 1.384 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.5281, allocations: 13.97 kB / 1.384 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of SimCode: time 4.1e-07/0.5281, allocations: 0 / 1.384 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.5415, allocations: 1.14 MB / 1.386 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.5418, allocations: 246.4 kB / 1.386 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.061, allocations: 0 / 1.386 GB, free: 8.75 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat does not exist to compare? outputFormat=mat