Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 288.2 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.8 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007961/0.000796, allocations: 93.97 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004487, allocations: 15.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0006771/0.2153, allocations: 272.6 kB / 0.9797 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005138/0.2158, allocations: 305.9 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.2158, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.2159, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.096e-05/0.2159, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.2162, allocations: 63.78 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.704e-05/0.2162, allocations: 8 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.2163, allocations: 0 / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.2163, allocations: 11.92 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.2163, allocations: 3.984 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2164, allocations: 4 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.2166, allocations: 171.8 kB / 0.9803 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.2166, allocations: 4 kB / 0.9803 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.2166, allocations: 29.7 kB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2168, allocations: 47.91 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2168, allocations: 4 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2168, allocations: 0 / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2168, allocations: 0 / 0.9804 GB, free: 26.7 MB / 0.6198 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.0002816/0.2171, allocations: 343.5 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2171, allocations: 8.031 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2172, allocations: 42.55 kB / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.2172, allocations: 3.938 kB / 0.9807 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2173, allocations: 163 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2173, allocations: 0 / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2174, allocations: 8 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.2175, allocations: 33.69 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2175, allocations: 0 / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2175, allocations: 4 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2175, allocations: 0 / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.2175, allocations: 4 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.2177, allocations: 157.7 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.2177, allocations: 26.52 kB / 0.9811 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005138/0.2182, allocations: 0.5818 MB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2183, allocations: 30.56 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2183, allocations: 4 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004345/0.2187, allocations: 246.3 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.2188, allocations: 55.41 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.2188, allocations: 101.8 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.2188, allocations: 29.7 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.2188, allocations: 80.14 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.2189, allocations: 12.12 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.2189, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.2189, allocations: 314.8 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.219, allocations: 3.984 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.219, allocations: 21.72 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.219, allocations: 11.94 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.219, allocations: 3.953 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.753e-05/0.2191, allocations: 61.53 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2191, allocations: 4 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2191, allocations: 0 / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2191, allocations: 4 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.2192, allocations: 7.938 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2192, allocations: 0 / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.2192, allocations: 4 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2192, allocations: 0 / 0.9826 GB, free: 23.96 MB / 0.6198 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 5.001e-05/0.2193, allocations: 109.9 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.2193, allocations: 12.28 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.524e-05/0.2194, allocations: 57.17 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2194, allocations: 0 / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2194, allocations: 4 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2194, allocations: 0 / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.542e-05/0.2195, allocations: 157.7 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2195, allocations: 4 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.2195, allocations: 11.89 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2196, allocations: 0 / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.2196, allocations: 7.984 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2196, allocations: 0 / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2196, allocations: 0 / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.2197, allocations: 77.12 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.2197, allocations: 77.11 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2197, allocations: 3.953 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.2198, allocations: 0 / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.2198, allocations: 8.016 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2198, allocations: 4.062 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.77e-05/0.2198, allocations: 79.28 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2198, allocations: 0 / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002136/0.22, allocations: 31.94 kB / 0.9833 GB, free: 23.23 MB / 0.6198 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.0003089/0.2204, allocations: 0.6474 MB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.757e-05/0.2204, allocations: 16.06 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2204, allocations: 0 / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.2205, allocations: 11.94 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.831e-05/0.2206, allocations: 10.73 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.221, allocations: 0.5241 MB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.798e-05/0.2211, allocations: 0.677 MB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.2212, allocations: 4 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2212, allocations: 15.44 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of SimCode: time 8.32e-07/0.2212, allocations: 0 / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.238, allocations: 1.897 MB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.2383, allocations: 225.1 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/1.841, allocations: 0 / 0.9872 GB, free: 19.29 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)