Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009444/0.0009448, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.182/2.182, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005075, allocations: 16.22 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0006378/0.2094, allocations: 280.3 kB / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005041/0.2099, allocations: 313.8 kB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.2099, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.597e-06/0.21, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.632e-05/0.21, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.2102, allocations: 63.77 kB / 0.7879 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.459e-05/0.2103, allocations: 12 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.2103, allocations: 0 / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.2103, allocations: 4 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.2104, allocations: 11.91 kB / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2104, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.2107, allocations: 175.8 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-06/0.2107, allocations: 4 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.2107, allocations: 29.7 kB / 0.7881 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2108, allocations: 47.91 kB / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2108, allocations: 0 / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2108, allocations: 0 / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.2109, allocations: 4 kB / 0.7881 GB, free: 10.96 MB / 0.6075 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.0002794/0.2111, allocations: 339.5 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2112, allocations: 8.031 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.2112, allocations: 38.56 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.2113, allocations: 3.938 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2114, allocations: 167 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.2114, allocations: 0 / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.2114, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.2115, allocations: 37.64 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2115, allocations: 4 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.2115, allocations: 4 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2116, allocations: 0 / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.2116, allocations: 4 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.2117, allocations: 157.7 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.2118, allocations: 22.56 kB / 0.7889 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/0.2124, allocations: 0.5779 MB / 0.7895 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.2124, allocations: 42.5 kB / 0.7895 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.2124, allocations: 0 / 0.7895 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004731/0.2129, allocations: 250.3 kB / 0.7897 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.2129, allocations: 51.41 kB / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.213, allocations: 97.86 kB / 0.7899 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.213, allocations: 25.7 kB / 0.7899 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.2131, allocations: 84.14 kB / 0.79 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.2131, allocations: 11.89 kB / 0.79 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.2131, allocations: 0 / 0.79 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2132, allocations: 319 kB / 0.7903 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.2133, allocations: 4 kB / 0.7903 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.2133, allocations: 21.7 kB / 0.7903 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.2133, allocations: 8 kB / 0.7903 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2133, allocations: 3.953 kB / 0.7903 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.962e-05/0.2134, allocations: 57.88 kB / 0.7904 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2135, allocations: 8.062 kB / 0.7904 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2135, allocations: 0 / 0.7904 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.2135, allocations: 3.984 kB / 0.7904 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.2136, allocations: 11.94 kB / 0.7904 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2136, allocations: 0 / 0.7904 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.2136, allocations: 0 / 0.7904 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2136, allocations: 4 kB / 0.7904 GB, free: 8.227 MB / 0.6075 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 7.587e-05/0.2137, allocations: 105.8 kB / 0.7905 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.2137, allocations: 11.94 kB / 0.7905 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.2139, allocations: 65.11 kB / 0.7906 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2139, allocations: 0 / 0.7906 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2139, allocations: 0 / 0.7906 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2139, allocations: 0 / 0.7906 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.214, allocations: 153.7 kB / 0.7907 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.214, allocations: 0 / 0.7907 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.2141, allocations: 11.95 kB / 0.7907 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2141, allocations: 0 / 0.7907 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.2141, allocations: 0 / 0.7907 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2141, allocations: 0 / 0.7907 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2141, allocations: 0 / 0.7907 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2143, allocations: 89.08 kB / 0.7908 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.2143, allocations: 77.11 kB / 0.7909 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2143, allocations: 3.953 kB / 0.7909 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/0.2144, allocations: 0 / 0.7909 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.2144, allocations: 4 kB / 0.7909 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2144, allocations: 0 / 0.7909 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.2144, allocations: 83.27 kB / 0.791 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2145, allocations: 4.062 kB / 0.791 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002257/0.2147, allocations: 27.94 kB / 0.791 GB, free: 7.492 MB / 0.6075 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.000482/0.2152, allocations: 0.6397 MB / 0.7916 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.041e-05/0.2153, allocations: 19.98 kB / 0.7917 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2153, allocations: 4.188 kB / 0.7917 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.2153, allocations: 8 kB / 0.7917 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.2154, allocations: 7.891 kB / 0.7917 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.216, allocations: 0.5265 MB / 0.7922 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2163, allocations: 0.6809 MB / 0.7929 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.2163, allocations: 4 kB / 0.7929 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.2163, allocations: 11.44 kB / 0.7929 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2163, allocations: 0 / 0.7929 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2283, allocations: 1.872 MB / 0.7947 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.2285, allocations: 210.2 kB / 0.7949 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.039, allocations: 4.062 kB / 0.7949 GB, free: 3.551 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: