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.001192/0.001192, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001305/0.001305, allocations: 188.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.1 MB / 222.1 MB, free: 4.684 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 1.569/1.569, allocations: 292.3 MB / 0.5485 GB, free: 13.59 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.001339/0.001339, allocations: 69.78 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1683, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001675/0.17, allocations: 0.6132 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005477/0.1706, allocations: 323.8 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.1706, allocations: 4 kB / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.1706, allocations: 0 / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.354e-05/0.1707, allocations: 0 / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.171, allocations: 87.84 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.961e-05/0.1711, allocations: 15.92 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.1711, allocations: 0 / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.1711, allocations: 11.98 kB / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.1712, allocations: 7.922 kB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1712, allocations: 0 / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.1715, allocations: 183.8 kB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.1715, allocations: 4 kB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.1715, allocations: 11.94 kB / 0.7842 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1716, allocations: 79.84 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1717, allocations: 3.938 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1717, allocations: 0 / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1717, allocations: 0 / 0.7843 GB, free: 12.47 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.000298/0.172, allocations: 343.7 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.172, allocations: 8.031 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.1721, allocations: 30.75 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.1721, allocations: 8.938 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.1722, allocations: 164.4 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1722, allocations: 4.375 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1722, allocations: 384 / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/0.1723, allocations: 42.19 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1723, allocations: 7.922 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1723, allocations: 3.938 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1723, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.1724, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.1725, allocations: 157.7 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.1725, allocations: 26.61 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.1726, allocations: 4.859 kB / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005257/0.1731, allocations: 0.5779 MB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1731, allocations: 38.5 kB / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1731, allocations: 0 / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004191/0.1736, allocations: 254.2 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1736, allocations: 55.39 kB / 0.7859 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.1737, allocations: 98.08 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1737, allocations: 29.7 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.1737, allocations: 80.14 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1737, allocations: 7.906 kB / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.1738, allocations: 17.7 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.1739, allocations: 318.8 kB / 0.7865 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.1739, allocations: 4 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.1739, allocations: 17.7 kB / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.174, allocations: 29.66 kB / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.174, allocations: 0 / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.854e-05/0.174, allocations: 57.59 kB / 0.7866 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1741, allocations: 11.94 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1741, allocations: 0 / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.1741, allocations: 0 / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-05/0.1741, allocations: 11.94 kB / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1741, allocations: 0 / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.1742, allocations: 4.062 kB / 0.7866 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1742, allocations: 0 / 0.7866 GB, free: 9.676 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.1742, allocations: 114.4 kB / 0.7867 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1743, allocations: 11.81 kB / 0.7867 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1744, allocations: 61.17 kB / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1744, allocations: 0 / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1744, allocations: 0 / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1744, allocations: 0 / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.773e-05/0.1745, allocations: 161.7 kB / 0.7869 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1745, allocations: 0 / 0.7869 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.1745, allocations: 7.938 kB / 0.7869 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1745, allocations: 3.938 kB / 0.7869 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.1746, allocations: 4 kB / 0.7869 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1746, allocations: 0 / 0.7869 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1746, allocations: 3.984 kB / 0.7869 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.1747, allocations: 82.58 kB / 0.787 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.1747, allocations: 93.05 kB / 0.7871 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1747, allocations: 0 / 0.7871 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.1748, allocations: 0 / 0.7871 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.1748, allocations: 0 / 0.7871 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1748, allocations: 7.984 kB / 0.7871 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.1748, allocations: 75.28 kB / 0.7872 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1748, allocations: 0 / 0.7872 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000212/0.1751, allocations: 32 kB / 0.7872 GB, free: 8.922 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003897/0.1754, allocations: 0.6436 MB / 0.7879 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.782e-05/0.1755, allocations: 23.92 kB / 0.7879 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1755, allocations: 0 / 0.7879 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.1756, allocations: 8 kB / 0.7879 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1757, allocations: 0 / 0.7879 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007654/0.1765, allocations: 1.151 MB / 0.789 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.1767, allocations: 0.6768 MB / 0.7897 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.1767, allocations: 4 kB / 0.7897 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.1767, allocations: 11.44 kB / 0.7897 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of SimCode: time 1.924e-06/0.1767, allocations: 4 kB / 0.7897 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.447/0.6238, allocations: 2.002 MB / 0.7916 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/0.6241, allocations: 228.7 kB / 0.7919 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.365, allocations: 1.875 kB / 0.7919 GB, free: 4.176 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/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)