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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.005001/0.005001, allocations: 97.39 kB / 15.73 MB, free: 5.988 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.001278/0.001279, allocations: 188 kB / 16.67 MB, free: 5.918 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.048/1.048, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.88 kB / 0.5953 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3746, allocations: 82.03 MB / 0.6754 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001405/0.3761, allocations: 0.5282 MB / 0.6759 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005595/0.3766, allocations: 329 kB / 0.6762 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.3767, allocations: 0 / 0.6762 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.3767, allocations: 1.406 kB / 0.6763 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.305e-05/0.3768, allocations: 0 / 0.6763 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.3771, allocations: 102.6 kB / 0.6763 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.3772, allocations: 12.61 kB / 0.6764 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.3772, allocations: 5.25 kB / 0.6764 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.3773, allocations: 3.625 kB / 0.6764 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.3773, allocations: 5.031 kB / 0.6764 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.3773, allocations: 1.25 kB / 0.6764 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.3776, allocations: 194.4 kB / 0.6766 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.3776, allocations: 0 / 0.6766 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.3776, allocations: 6.281 kB / 0.6766 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3778, allocations: 84.73 kB / 0.6766 GB, free: 24 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3778, allocations: 0 / 0.6766 GB, free: 24 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3778, allocations: 1.375 kB / 0.6766 GB, free: 24 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3778, allocations: 0 / 0.6766 GB, free: 24 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.0004041/0.3782, allocations: 345.9 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3783, allocations: 8.625 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.3783, allocations: 35.92 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.3784, allocations: 1.969 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3785, allocations: 165.5 kB / 0.6772 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3785, allocations: 1.562 kB / 0.6772 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.3785, allocations: 1.688 kB / 0.6772 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.498e-05/0.3786, allocations: 39.03 kB / 0.6772 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3787, allocations: 7.938 kB / 0.6772 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3787, allocations: 0 / 0.6772 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3787, allocations: 1.156 kB / 0.6772 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.3787, allocations: 10.52 kB / 0.6772 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.3789, allocations: 157.1 kB / 0.6774 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.3789, allocations: 19.89 kB / 0.6774 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.379, allocations: 12.48 kB / 0.6774 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.3797, allocations: 0.58 MB / 0.678 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3797, allocations: 31.72 kB / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3797, allocations: 1.281 kB / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005191/0.3802, allocations: 255.6 kB / 0.6783 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3803, allocations: 52.88 kB / 0.6783 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.3804, allocations: 97.56 kB / 0.6784 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3804, allocations: 25.7 kB / 0.6784 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.3804, allocations: 93.34 kB / 0.6785 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3805, allocations: 12.94 kB / 0.6785 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3805, allocations: 18.34 kB / 0.6785 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3807, allocations: 318.9 kB / 0.6789 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.3807, allocations: 3.5 kB / 0.6789 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.3807, allocations: 19.78 kB / 0.6789 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.3808, allocations: 27.05 kB / 0.6789 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3808, allocations: 0 / 0.6789 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.169e-05/0.3809, allocations: 54.77 kB / 0.679 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3809, allocations: 8.062 kB / 0.679 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3809, allocations: 1.062 kB / 0.679 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3809, allocations: 1.25 kB / 0.679 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.381, allocations: 13.48 kB / 0.679 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.381, allocations: 1.031 kB / 0.679 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.381, allocations: 5.031 kB / 0.679 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.381, allocations: 1.094 kB / 0.679 GB, free: 13.38 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 8.375e-05/0.3811, allocations: 112 kB / 0.6791 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.3812, allocations: 17.95 kB / 0.6791 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.3813, allocations: 50.53 kB / 0.6792 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3813, allocations: 0 / 0.6792 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3813, allocations: 3.984 kB / 0.6792 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3813, allocations: 0.9688 kB / 0.6792 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3814, allocations: 154 kB / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3815, allocations: 0 / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.3815, allocations: 4.5 kB / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3815, allocations: 5.281 kB / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3815, allocations: 1.156 kB / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3815, allocations: 4 kB / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3815, allocations: 0 / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3817, allocations: 83.19 kB / 0.6794 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3817, allocations: 86.25 kB / 0.6795 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3818, allocations: 1.219 kB / 0.6795 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.3818, allocations: 0 / 0.6795 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.3818, allocations: 6.406 kB / 0.6795 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3818, allocations: 0.9375 kB / 0.6795 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.3819, allocations: 85.56 kB / 0.6796 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3819, allocations: 0 / 0.6796 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002262/0.3821, allocations: 30.39 kB / 0.6796 GB, free: 12.72 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.0005132/0.3826, allocations: 0.6421 MB / 0.6802 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.335e-05/0.3827, allocations: 22.86 kB / 0.6802 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3828, allocations: 0 / 0.6802 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.3828, allocations: 6.125 kB / 0.6803 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.3829, allocations: 13.25 kB / 0.6803 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.384, allocations: 1.151 MB / 0.6814 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3843, allocations: 0.6777 MB / 0.6821 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.3843, allocations: 6.422 kB / 0.6821 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.3844, allocations: 13.75 kB / 0.6821 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3844, allocations: 0 / 0.6821 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.4084, allocations: 2.115 MB / 0.6841 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.154, allocations: 4.812 kB / 0.6841 GB, free: 9.137 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)