Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001269/0.001269, allocations: 102.2 kB / 16.27 MB, free: 5.969 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.001339/0.001339, allocations: 192 kB / 17.2 MB, free: 5.598 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7229/0.7229, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.88 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2941, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001603/0.2957, allocations: 0.5282 MB / 0.5678 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.2962, allocations: 317.8 kB / 0.5681 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.2962, allocations: 1.406 kB / 0.5681 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.2963, allocations: 1.594 kB / 0.5681 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.248e-05/0.2963, allocations: 3.938 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.2966, allocations: 99.56 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.976e-05/0.2967, allocations: 12.14 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.2967, allocations: 5.828 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.2968, allocations: 3.984 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.632e-05/0.2968, allocations: 7.875 kB / 0.5682 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2968, allocations: 2.75 kB / 0.5682 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.2971, allocations: 191.4 kB / 0.5684 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.2971, allocations: 5.844 kB / 0.5684 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.2971, allocations: 5.953 kB / 0.5684 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.2973, allocations: 78.44 kB / 0.5685 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2973, allocations: 0 / 0.5685 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2973, allocations: 1.188 kB / 0.5685 GB, free: 32.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.2973, allocations: 6.625 kB / 0.5685 GB, free: 32.11 MB / 446.1 MB 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.0002253/0.2975, allocations: 341.1 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2976, allocations: 9.875 kB / 0.5689 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.009e-05/0.2976, allocations: 35.94 kB / 0.5689 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.2976, allocations: 2.031 kB / 0.5689 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.402e-05/0.2977, allocations: 162.8 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2977, allocations: 2.938 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2977, allocations: 1.594 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.137e-05/0.2978, allocations: 41.56 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.2978, allocations: 5.031 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2978, allocations: 1.094 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2978, allocations: 0 / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.2978, allocations: 7.969 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.458e-05/0.2979, allocations: 152.7 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.298, allocations: 26.92 kB / 0.5693 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.298, allocations: 7.516 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/0.2984, allocations: 0.5781 MB / 0.5698 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.2985, allocations: 37.52 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2985, allocations: 1.031 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003644/0.2989, allocations: 258.1 kB / 0.5701 GB, free: 30.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.2989, allocations: 51.92 kB / 0.5702 GB, free: 30.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.544e-05/0.2989, allocations: 101.4 kB / 0.5703 GB, free: 30.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.2989, allocations: 26.86 kB / 0.5703 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.509e-05/0.299, allocations: 81.45 kB / 0.5704 GB, free: 29.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.299, allocations: 14.27 kB / 0.5704 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.299, allocations: 16.47 kB / 0.5704 GB, free: 29.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.299, allocations: 316.4 kB / 0.5707 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.2991, allocations: 7.203 kB / 0.5707 GB, free: 29.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.2991, allocations: 18.98 kB / 0.5707 GB, free: 29.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.2991, allocations: 29.75 kB / 0.5708 GB, free: 29.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2991, allocations: 0.7188 kB / 0.5708 GB, free: 29.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.127e-05/0.2992, allocations: 53.83 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2992, allocations: 12 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2992, allocations: 0 / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2993, allocations: 2.719 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.2993, allocations: 11.19 kB / 0.5708 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2993, allocations: 1.094 kB / 0.5708 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.2993, allocations: 5.375 kB / 0.5708 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2993, allocations: 7.703 kB / 0.5708 GB, free: 29.55 MB / 446.1 MB 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 3.88e-05/0.2994, allocations: 112 kB / 0.571 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.2994, allocations: 7.406 kB / 0.571 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.497e-05/0.2995, allocations: 51.69 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2995, allocations: 5 kB / 0.571 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2995, allocations: 1.312 kB / 0.571 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2995, allocations: 0.5938 kB / 0.571 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.829e-05/0.2996, allocations: 155.8 kB / 0.5712 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2996, allocations: 0 / 0.5712 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.2996, allocations: 9.25 kB / 0.5712 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2997, allocations: 7.141 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.2997, allocations: 0 / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2997, allocations: 1.859 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2997, allocations: 0.5 kB / 0.5712 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.778e-05/0.2998, allocations: 77.62 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.2998, allocations: 86.72 kB / 0.5713 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2998, allocations: 1.875 kB / 0.5713 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.2999, allocations: 3.484 kB / 0.5713 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.2999, allocations: 5.719 kB / 0.5714 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2999, allocations: 1.062 kB / 0.5714 GB, free: 29.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.83e-05/0.2999, allocations: 84.45 kB / 0.5714 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2999, allocations: 0 / 0.5714 GB, free: 28.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3001, allocations: 30.48 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB 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.0002908/0.3004, allocations: 0.633 MB / 0.5721 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.3005, allocations: 27.2 kB / 0.5721 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3005, allocations: 0.7188 kB / 0.5721 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.3006, allocations: 7.438 kB / 0.5721 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.3007, allocations: 7.125 kB / 0.5721 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.3013, allocations: 1.139 MB / 0.5732 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.309e-05/0.3014, allocations: 0.6778 MB / 0.5739 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3014, allocations: 8.125 kB / 0.5739 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.3015, allocations: 16.77 kB / 0.5739 GB, free: 26.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3015, allocations: 0 / 0.5739 GB, free: 26.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.3188, allocations: 2.071 MB / 0.5759 GB, free: 26.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.392, allocations: 11.2 kB / 0.576 GB, free: 26.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)