Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.842/2.842, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001574/0.001574, allocations: 186.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001175/0.001174, allocations: 101 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006501/0.0006502, allocations: 11.88 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2205, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0006749/0.2213, allocations: 272.4 kB / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000622/0.2219, allocations: 305.9 kB / 0.9788 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.2219, allocations: 4 kB / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.008e-05/0.2219, allocations: 0 / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.222, allocations: 0 / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.2223, allocations: 59.78 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.076e-05/0.2224, allocations: 8 kB / 0.9789 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.2224, allocations: 0 / 0.9789 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.2225, allocations: 11.92 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.2225, allocations: 7.984 kB / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2225, allocations: 0 / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.2229, allocations: 175.8 kB / 0.9791 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.2229, allocations: 4 kB / 0.9791 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.2229, allocations: 25.7 kB / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.223, allocations: 51.91 kB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2231, allocations: 0 / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2231, allocations: 0 / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2231, allocations: 0 / 0.9792 GB, free: 27.37 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.000271/0.2234, allocations: 345.6 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2234, allocations: 11.97 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.2235, allocations: 38.5 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.2235, allocations: 4 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.2236, allocations: 167 kB / 0.9797 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2236, allocations: 3.938 kB / 0.9797 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2236, allocations: 0 / 0.9797 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.2237, allocations: 33.7 kB / 0.9797 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2238, allocations: 4 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2238, allocations: 11.98 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2238, allocations: 0 / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.2238, allocations: 0 / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.224, allocations: 157.6 kB / 0.9799 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.224, allocations: 22.55 kB / 0.9799 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/0.2247, allocations: 0.5857 MB / 0.9805 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2247, allocations: 30.56 kB / 0.9805 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2247, allocations: 4 kB / 0.9805 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004938/0.2252, allocations: 250.5 kB / 0.9808 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.2253, allocations: 51.41 kB / 0.9808 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.2253, allocations: 97.86 kB / 0.9809 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2254, allocations: 29.69 kB / 0.981 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.2254, allocations: 84.12 kB / 0.981 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2254, allocations: 11.91 kB / 0.981 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.2254, allocations: 0 / 0.981 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2255, allocations: 314.8 kB / 0.9813 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.2255, allocations: 8 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.2256, allocations: 25.64 kB / 0.9814 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.2256, allocations: 8 kB / 0.9814 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2256, allocations: 0 / 0.9814 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.2257, allocations: 53.59 kB / 0.9814 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2258, allocations: 8 kB / 0.9814 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.2258, allocations: 0 / 0.9814 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2258, allocations: 64 / 0.9814 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.2259, allocations: 15.94 kB / 0.9815 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2259, allocations: 0 / 0.9815 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.2259, allocations: 3.938 kB / 0.9815 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.226, allocations: 4 kB / 0.9815 GB, free: 24.62 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.653e-05/0.226, allocations: 109.8 kB / 0.9816 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.226, allocations: 336 / 0.9816 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.2262, allocations: 65.16 kB / 0.9816 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2262, allocations: 0 / 0.9816 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2262, allocations: 4 kB / 0.9816 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2262, allocations: 3.938 kB / 0.9816 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.446e-05/0.2263, allocations: 157.6 kB / 0.9818 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2264, allocations: 3.938 kB / 0.9818 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.2264, allocations: 4 kB / 0.9818 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2264, allocations: 4 kB / 0.9818 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2265, allocations: 0 / 0.9818 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2265, allocations: 0 / 0.9818 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2265, allocations: 3.984 kB / 0.9818 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.2266, allocations: 77.12 kB / 0.9819 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2267, allocations: 81.09 kB / 0.982 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2267, allocations: 4 kB / 0.982 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.2268, allocations: 0 / 0.982 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.2268, allocations: 0 / 0.982 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2268, allocations: 7.984 kB / 0.982 GB, free: 24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.2268, allocations: 75.28 kB / 0.982 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2268, allocations: 3.938 kB / 0.982 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003053/0.2272, allocations: 35.94 kB / 0.9821 GB, free: 23.89 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.0004272/0.2276, allocations: 0.6409 MB / 0.9827 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.467e-05/0.2277, allocations: 23.92 kB / 0.9827 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.459e-05/0.2278, allocations: 0 / 0.9827 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.564e-05/0.2278, allocations: 4 kB / 0.9827 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.2279, allocations: 8.188 kB / 0.9827 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.2285, allocations: 0.5217 MB / 0.9832 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.2286, allocations: 0.6809 MB / 0.9839 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.2287, allocations: 8 kB / 0.9839 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.2287, allocations: 15.44 kB / 0.9839 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2287, allocations: 0 / 0.9839 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.2487, allocations: 1.877 MB / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.249, allocations: 216.6 kB / 0.986 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/2.758, allocations: 4 kB / 0.986 GB, free: 19.94 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)