Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",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.552/2.552, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001399/0.001399, allocations: 183.5 kB / 0.4901 GB, free: 2.262 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.453/1.453, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.000968/0.0009681, allocations: 110.8 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 14.77 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.4934, allocations: 149.8 MB / 1.376 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.4938, allocations: 75.95 kB / 1.376 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00944/0.5033, allocations: 1.833 MB / 1.377 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5033, allocations: 0 / 1.377 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5033, allocations: 0 / 1.377 GB, free: 1.668 MB / 0.8698 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.0004803/0.5038, allocations: 351.3 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.5039, allocations: 8.031 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.504, allocations: 30.56 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.504, allocations: 4 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.5042, allocations: 163 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5043, allocations: 4 kB / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.5043, allocations: 11.89 kB / 1.378 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.5045, allocations: 33.7 kB / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5045, allocations: 0 / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.5045, allocations: 0 / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5045, allocations: 0 / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.5046, allocations: 7.938 kB / 1.378 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.5049, allocations: 157.7 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.5049, allocations: 22.58 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/0.5057, allocations: 0.5779 MB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.5058, allocations: 38.5 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 3.526e-06/0.5058, allocations: 7.984 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0006945/0.5065, allocations: 246.4 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.5065, allocations: 51.41 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.5066, allocations: 96.98 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.5066, allocations: 25.7 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.5067, allocations: 84.08 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.5067, allocations: 12.03 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.5068, allocations: 7.938 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5069, allocations: 322.8 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.5069, allocations: 0 / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.507, allocations: 21.72 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.507, allocations: 4 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.507, allocations: 0 / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001476/0.5072, allocations: 61.62 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.5072, allocations: 6.188 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5072, allocations: 0 / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.5073, allocations: 4 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.5074, allocations: 4 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5074, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.5074, allocations: 4 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5074, allocations: 3.984 kB / 1.38 GB, free: 14.93 MB / 0.8855 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.0001091/0.5075, allocations: 110.6 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.5076, allocations: 8.062 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.5078, allocations: 61.03 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5078, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5078, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5078, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.508, allocations: 161.6 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.508, allocations: 0 / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.5081, allocations: 7.984 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5081, allocations: 0 / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5081, allocations: 0 / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5081, allocations: 4 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5081, allocations: 3.938 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.5083, allocations: 77.12 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.5084, allocations: 81.06 kB / 1.38 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.5084, allocations: 0 / 1.38 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/0.5084, allocations: 7.922 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.5085, allocations: 4.031 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.5085, allocations: 64 / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.5086, allocations: 83.7 kB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5086, allocations: 0 / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003937/0.509, allocations: 39.92 kB / 1.38 GB, free: 14.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000874/0.5098, allocations: 0.6477 MB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.51, allocations: 24 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.51, allocations: 3.938 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.51, allocations: 11.98 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.5102, allocations: 0 / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.5113, allocations: 0.5331 MB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.5116, allocations: 0.677 MB / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.5117, allocations: 7.984 kB / 1.382 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.5118, allocations: 19.38 kB / 1.382 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/0.5118, allocations: 0 / 1.382 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.5284, allocations: 1.741 MB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003197/0.5288, allocations: 220.8 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.109, allocations: 1.266 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat does not exist to compare? outputFormat=mat