Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.005196/0.005196, allocations: 97.17 kB / 15.73 MB, free: 6.055 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.001359/0.001359, allocations: 194.3 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 279.1 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5074 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 101.6 kB / 0.6943 GB, free: 3.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.479, allocations: 89.13 MB / 0.7813 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001704/0.4808, allocations: 0.5374 MB / 0.7819 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000657/0.4814, allocations: 322.7 kB / 0.7822 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.4815, allocations: 3.938 kB / 0.7822 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.4815, allocations: 0 / 0.7822 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.045e-05/0.4816, allocations: 3.938 kB / 0.7822 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.482, allocations: 99.59 kB / 0.7823 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.4821, allocations: 14.3 kB / 0.7823 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.4822, allocations: 1.219 kB / 0.7823 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.4822, allocations: 7.016 kB / 0.7823 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.4822, allocations: 8.609 kB / 0.7823 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.4823, allocations: 0 / 0.7823 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.4826, allocations: 188.9 kB / 0.7825 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.4826, allocations: 1.406 kB / 0.7825 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.4827, allocations: 7.719 kB / 0.7825 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.4829, allocations: 81.92 kB / 0.7826 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4829, allocations: 3.406 kB / 0.7826 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4829, allocations: 0 / 0.7826 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.4829, allocations: 0 / 0.7826 GB, free: 13.17 MB / 0.5606 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.0004291/0.4834, allocations: 341.8 kB / 0.7829 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4834, allocations: 9.062 kB / 0.7829 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.4834, allocations: 35.25 kB / 0.7829 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.4835, allocations: 4.75 kB / 0.7829 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.4836, allocations: 166 kB / 0.7831 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4836, allocations: 4.375 kB / 0.7831 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.4837, allocations: 1.188 kB / 0.7831 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4838, allocations: 41.75 kB / 0.7831 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4838, allocations: 3.938 kB / 0.7831 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.4838, allocations: 0 / 0.7831 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4838, allocations: 2.047 kB / 0.7831 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.4838, allocations: 2.75 kB / 0.7831 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.484, allocations: 157.5 kB / 0.7833 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.4841, allocations: 24.22 kB / 0.7833 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.4841, allocations: 7.828 kB / 0.7833 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006737/0.4848, allocations: 0.5785 MB / 0.7839 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4849, allocations: 36.36 kB / 0.7839 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.4849, allocations: 5.281 kB / 0.7839 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005361/0.4854, allocations: 252.6 kB / 0.7842 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4855, allocations: 51.41 kB / 0.7842 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.4855, allocations: 96.23 kB / 0.7843 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.4856, allocations: 25.7 kB / 0.7843 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4856, allocations: 89.55 kB / 0.7844 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.4856, allocations: 14.38 kB / 0.7844 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.4857, allocations: 19.39 kB / 0.7845 GB, free: 11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4858, allocations: 313 kB / 0.7848 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.4858, allocations: 12.14 kB / 0.7848 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.4859, allocations: 21.02 kB / 0.7848 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.4859, allocations: 31.69 kB / 0.7848 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.486, allocations: 0 / 0.7848 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.354e-05/0.4861, allocations: 48.36 kB / 0.7849 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4861, allocations: 11.03 kB / 0.7849 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4861, allocations: 6.062 kB / 0.7849 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4861, allocations: 1.5 kB / 0.7849 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.4862, allocations: 6 kB / 0.7849 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4862, allocations: 6.047 kB / 0.7849 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.4862, allocations: 0 / 0.7849 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4862, allocations: 6.438 kB / 0.7849 GB, free: 10.58 MB / 0.5606 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 7.585e-05/0.4863, allocations: 111.9 kB / 0.785 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.4863, allocations: 10.08 kB / 0.785 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.4864, allocations: 51.7 kB / 0.7851 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4864, allocations: 1.875 kB / 0.7851 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4865, allocations: 0 / 0.7851 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4865, allocations: 0 / 0.7851 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.4866, allocations: 154.8 kB / 0.7852 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4866, allocations: 3.984 kB / 0.7852 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.4867, allocations: 10.28 kB / 0.7852 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.4867, allocations: 9.469 kB / 0.7852 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.4867, allocations: 0 / 0.7852 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4867, allocations: 1.406 kB / 0.7852 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4867, allocations: 1.5 kB / 0.7852 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.4868, allocations: 74.83 kB / 0.7853 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.4869, allocations: 83.23 kB / 0.7854 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.4869, allocations: 0.6562 kB / 0.7854 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.4869, allocations: 6.094 kB / 0.7854 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.487, allocations: 2.125 kB / 0.7854 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.487, allocations: 5.766 kB / 0.7854 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.487, allocations: 78.09 kB / 0.7855 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.487, allocations: 0 / 0.7855 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002433/0.4873, allocations: 28.84 kB / 0.7855 GB, free: 9.953 MB / 0.5606 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.0005256/0.4878, allocations: 0.6491 MB / 0.7861 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.07e-05/0.4879, allocations: 17.22 kB / 0.7862 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4879, allocations: 1.094 kB / 0.7862 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.073e-05/0.4879, allocations: 11.75 kB / 0.7862 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.4881, allocations: 8.531 kB / 0.7862 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.4891, allocations: 1.141 MB / 0.7873 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4894, allocations: 0.6803 MB / 0.788 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.4895, allocations: 8.312 kB / 0.788 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.4895, allocations: 13.38 kB / 0.788 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.4895, allocations: 0 / 0.788 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.5136, allocations: 2.117 MB / 0.79 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.356, allocations: 5.688 kB / 0.79 GB, free: 7.125 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)