Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.00438/0.00438, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001113/0.001112, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9003/0.9003, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.5951 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3634, allocations: 82.04 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001376/0.3649, allocations: 0.5211 MB / 0.6757 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005006/0.3654, allocations: 329.3 kB / 0.676 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.3654, allocations: 0 / 0.676 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.3654, allocations: 1.219 kB / 0.676 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.3655, allocations: 4 kB / 0.676 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.3658, allocations: 106.8 kB / 0.6761 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.3658, allocations: 12.8 kB / 0.6761 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.3659, allocations: 1.219 kB / 0.6761 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.3659, allocations: 6.531 kB / 0.6761 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.3659, allocations: 10.27 kB / 0.6761 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.366, allocations: 1.062 kB / 0.6761 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.3662, allocations: 186.1 kB / 0.6763 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.3662, allocations: 5.391 kB / 0.6763 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.3662, allocations: 4.969 kB / 0.6763 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3664, allocations: 82.02 kB / 0.6764 GB, free: 240 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.3664, allocations: 0 / 0.6764 GB, free: 240 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3664, allocations: 0 / 0.6764 GB, free: 240 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3664, allocations: 1.125 kB / 0.6764 GB, free: 240 kB / 0.4981 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.0002779/0.3667, allocations: 341.5 kB / 0.6767 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3667, allocations: 13.66 kB / 0.6767 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.3668, allocations: 38.67 kB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.3668, allocations: 6.156 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.3669, allocations: 161.6 kB / 0.6769 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.3669, allocations: 1.469 kB / 0.6769 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3669, allocations: 1.375 kB / 0.6769 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.129e-05/0.367, allocations: 39.12 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.367, allocations: 3.938 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.367, allocations: 1.219 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.367, allocations: 4 kB / 0.677 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.3671, allocations: 2.219 kB / 0.677 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.3672, allocations: 158.2 kB / 0.6771 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.968e-05/0.3672, allocations: 22.86 kB / 0.6772 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.3673, allocations: 9.516 kB / 0.6772 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/0.3678, allocations: 0.5802 MB / 0.6777 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3678, allocations: 31.62 kB / 0.6778 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3678, allocations: 0 / 0.6778 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003953/0.3682, allocations: 252.8 kB / 0.678 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.3683, allocations: 55.62 kB / 0.6781 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.3683, allocations: 98.25 kB / 0.6781 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3683, allocations: 25.7 kB / 0.6782 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.3684, allocations: 85.23 kB / 0.6783 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3684, allocations: 14.41 kB / 0.6783 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.3684, allocations: 16.19 kB / 0.6783 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.3685, allocations: 316.3 kB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.3685, allocations: 4.188 kB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.3686, allocations: 26.91 kB / 0.6786 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.3686, allocations: 26.36 kB / 0.6786 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3686, allocations: 5.031 kB / 0.6786 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.585e-05/0.3687, allocations: 49.23 kB / 0.6787 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3687, allocations: 9.531 kB / 0.6787 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3687, allocations: 1.062 kB / 0.6787 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.3688, allocations: 8 kB / 0.6787 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-05/0.3688, allocations: 11.02 kB / 0.6787 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3688, allocations: 0 / 0.6787 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.3688, allocations: 1 kB / 0.6787 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3688, allocations: 2.125 kB / 0.6787 GB, free: 13.6 MB / 0.5137 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 6.56e-05/0.3689, allocations: 112 kB / 0.6788 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.3689, allocations: 8.891 kB / 0.6788 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.369, allocations: 58.31 kB / 0.6789 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3691, allocations: 9.406 kB / 0.6789 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3691, allocations: 0 / 0.6789 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3691, allocations: 0 / 0.6789 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.391e-05/0.3692, allocations: 158.3 kB / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3692, allocations: 0 / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.3692, allocations: 5.75 kB / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3692, allocations: 3.938 kB / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3692, allocations: 5.094 kB / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3692, allocations: 0 / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3692, allocations: 1.062 kB / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.3694, allocations: 86.17 kB / 0.6791 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.3694, allocations: 82.17 kB / 0.6792 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.3694, allocations: 1.25 kB / 0.6792 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.3695, allocations: 0 / 0.6792 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.3695, allocations: 6.406 kB / 0.6792 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3695, allocations: 1.25 kB / 0.6792 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.3695, allocations: 81.64 kB / 0.6793 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3695, allocations: 0 / 0.6793 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002097/0.3697, allocations: 30.19 kB / 0.6793 GB, free: 12.93 MB / 0.5137 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.0003996/0.3701, allocations: 0.6408 MB / 0.68 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.3702, allocations: 19.61 kB / 0.68 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3702, allocations: 0 / 0.68 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.3703, allocations: 6.906 kB / 0.68 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3704, allocations: 15.64 kB / 0.68 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.3712, allocations: 1.15 MB / 0.6811 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3714, allocations: 0.673 MB / 0.6818 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.3714, allocations: 8.203 kB / 0.6818 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.3715, allocations: 16.56 kB / 0.6818 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.3715, allocations: 1.5 kB / 0.6818 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.3879, allocations: 2.124 MB / 0.6839 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.245, allocations: 6.969 kB / 0.6839 GB, free: 9.34 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)