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.004725/0.004725, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001303/0.001303, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 280.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 95.84 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.41, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001544/0.4116, allocations: 0.5306 MB / 0.7664 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006067/0.4122, allocations: 318.9 kB / 0.7667 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.4123, allocations: 7.938 kB / 0.7667 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.4123, allocations: 0 / 0.7667 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.4123, allocations: 0 / 0.7667 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.4127, allocations: 103.7 kB / 0.7668 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.4128, allocations: 11.98 kB / 0.7668 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.4128, allocations: 0 / 0.7668 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.4128, allocations: 11.92 kB / 0.7669 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.4129, allocations: 4 kB / 0.7669 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.4129, allocations: 0 / 0.7669 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.4132, allocations: 187.8 kB / 0.767 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.4132, allocations: 0 / 0.767 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.4133, allocations: 11.94 kB / 0.767 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.4135, allocations: 87.09 kB / 0.7671 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4135, allocations: 0 / 0.7671 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4135, allocations: 4 kB / 0.7671 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4135, allocations: 0 / 0.7671 GB, free: 2.609 MB / 0.5294 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.0004852/0.414, allocations: 341 kB / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4141, allocations: 8.031 kB / 0.7675 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.4141, allocations: 30.75 kB / 0.7675 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.4142, allocations: 12.88 kB / 0.7675 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4143, allocations: 164.4 kB / 0.7677 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4143, allocations: 384 / 0.7677 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4143, allocations: 4.375 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.4145, allocations: 38.27 kB / 0.7677 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4145, allocations: 3.938 kB / 0.7677 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4145, allocations: 0 / 0.7677 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4145, allocations: 0 / 0.7677 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.837e-05/0.4145, allocations: 7.922 kB / 0.7677 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.4147, allocations: 153.6 kB / 0.7679 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.4148, allocations: 26.59 kB / 0.7679 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.4148, allocations: 16.84 kB / 0.7679 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007325/0.4156, allocations: 0.574 MB / 0.7685 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.4156, allocations: 30.56 kB / 0.7685 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.4156, allocations: 4 kB / 0.7685 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005546/0.4162, allocations: 254.3 kB / 0.7687 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4163, allocations: 51.41 kB / 0.7688 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.4163, allocations: 101.8 kB / 0.7689 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4164, allocations: 25.7 kB / 0.7689 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.4164, allocations: 84.08 kB / 0.769 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.4164, allocations: 11.84 kB / 0.769 GB, free: 316 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.4165, allocations: 21.94 kB / 0.769 GB, free: 288 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4167, allocations: 318.8 kB / 0.7693 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.4167, allocations: 11.94 kB / 0.7693 GB, free: 15.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.4167, allocations: 13.72 kB / 0.7694 GB, free: 15.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.4168, allocations: 21.72 kB / 0.7694 GB, free: 15.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4168, allocations: 0 / 0.7694 GB, free: 15.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.209e-05/0.4169, allocations: 57.62 kB / 0.7694 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4169, allocations: 11.94 kB / 0.7694 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4169, allocations: 0 / 0.7694 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4169, allocations: 3.938 kB / 0.7694 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.417, allocations: 12 kB / 0.7695 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.417, allocations: 3.984 kB / 0.7695 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.417, allocations: 0 / 0.7695 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.417, allocations: 0 / 0.7695 GB, free: 15.81 MB / 0.545 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.861e-05/0.4171, allocations: 113.9 kB / 0.7696 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.4171, allocations: 11.83 kB / 0.7696 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.4173, allocations: 57.19 kB / 0.7696 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4173, allocations: 0 / 0.7696 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4173, allocations: 0 / 0.7696 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4173, allocations: 0 / 0.7696 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.4174, allocations: 149.7 kB / 0.7698 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4174, allocations: 3.984 kB / 0.7698 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.4175, allocations: 4 kB / 0.7698 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4175, allocations: 3.938 kB / 0.7698 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.4175, allocations: 12 kB / 0.7698 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4175, allocations: 0 / 0.7698 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4175, allocations: 4 kB / 0.7698 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.4176, allocations: 73.06 kB / 0.7699 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.4177, allocations: 89.08 kB / 0.77 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.4177, allocations: 3.984 kB / 0.77 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.4177, allocations: 432 / 0.77 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.4178, allocations: 64 / 0.77 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4178, allocations: 8 kB / 0.77 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.4178, allocations: 79.27 kB / 0.77 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4178, allocations: 0 / 0.77 GB, free: 15.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002266/0.4181, allocations: 31.92 kB / 0.7701 GB, free: 15.07 MB / 0.545 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.0005079/0.4186, allocations: 0.6475 MB / 0.7707 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.751e-05/0.4187, allocations: 20 kB / 0.7707 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4187, allocations: 0 / 0.7707 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.4187, allocations: 11.98 kB / 0.7707 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.4188, allocations: 5.312 kB / 0.7707 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4199, allocations: 1.142 MB / 0.7719 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4202, allocations: 0.6768 MB / 0.7725 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.4202, allocations: 8 kB / 0.7725 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.4202, allocations: 19.42 kB / 0.7725 GB, free: 12.4 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4202, allocations: 0 / 0.7725 GB, free: 12.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.4435, allocations: 2.101 MB / 0.7746 GB, free: 10.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.117, allocations: 8.5 kB / 0.7746 GB, free: 10.48 MB / 0.545 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)