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.001146/0.001146, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.175/1.175, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.8668/0.8668, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 55.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1252, allocations: 82.05 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001388/0.1267, allocations: 0.5226 MB / 0.5949 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.1272, allocations: 326.9 kB / 0.5952 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.707e-05/0.1272, allocations: 0 / 0.5952 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.809e-06/0.1272, allocations: 0 / 0.5952 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.321e-05/0.1273, allocations: 0 / 0.5952 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1276, allocations: 99.69 kB / 0.5953 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.849e-05/0.1276, allocations: 15.98 kB / 0.5953 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.1277, allocations: 0 / 0.5953 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.1277, allocations: 7.938 kB / 0.5953 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.1277, allocations: 3.984 kB / 0.5953 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1277, allocations: 4 kB / 0.5953 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.128, allocations: 187.7 kB / 0.5955 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.128, allocations: 7.984 kB / 0.5955 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.128, allocations: 3.938 kB / 0.5955 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1282, allocations: 83.84 kB / 0.5956 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1282, allocations: 0 / 0.5956 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1282, allocations: 0 / 0.5956 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1282, allocations: 4 kB / 0.5956 GB, free: 8.254 MB / 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.0002834/0.1285, allocations: 347.6 kB / 0.596 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1285, allocations: 8.031 kB / 0.596 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.1285, allocations: 38.69 kB / 0.596 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.1286, allocations: 4.938 kB / 0.596 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.1287, allocations: 160.4 kB / 0.5962 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.1287, allocations: 384 / 0.5962 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1287, allocations: 8.359 kB / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/0.1288, allocations: 38.27 kB / 0.5962 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1288, allocations: 3.938 kB / 0.5962 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.1288, allocations: 0 / 0.5962 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1288, allocations: 0 / 0.5962 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.1288, allocations: 7.938 kB / 0.5962 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.129, allocations: 153.7 kB / 0.5964 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.218e-05/0.129, allocations: 18.58 kB / 0.5964 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.129, allocations: 8.844 kB / 0.5964 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005412/0.1296, allocations: 0.5818 MB / 0.597 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1296, allocations: 30.56 kB / 0.597 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1296, allocations: 0 / 0.597 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004254/0.13, allocations: 262.2 kB / 0.5972 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1301, allocations: 51.41 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.1301, allocations: 97.8 kB / 0.5974 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1302, allocations: 25.7 kB / 0.5974 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.1302, allocations: 84.14 kB / 0.5975 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1302, allocations: 11.89 kB / 0.5975 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1302, allocations: 17.94 kB / 0.5975 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.1303, allocations: 314.8 kB / 0.5978 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.1304, allocations: 4 kB / 0.5978 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.1304, allocations: 21.7 kB / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.1304, allocations: 25.72 kB / 0.5979 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1304, allocations: 3.938 kB / 0.5979 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.513e-05/0.1305, allocations: 61.53 kB / 0.5979 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1305, allocations: 7.938 kB / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1306, allocations: 0 / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1306, allocations: 0 / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.1306, allocations: 8.328 kB / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1306, allocations: 0 / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.1306, allocations: 0 / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1306, allocations: 4 kB / 0.5979 GB, free: 5.461 MB / 0.4981 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.584e-05/0.1307, allocations: 117.8 kB / 0.5981 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.1307, allocations: 12 kB / 0.5981 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1308, allocations: 65.03 kB / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1308, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1309, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1309, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.131, allocations: 153.7 kB / 0.5983 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.131, allocations: 0 / 0.5983 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.131, allocations: 8 kB / 0.5983 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.131, allocations: 3.938 kB / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.131, allocations: 3.984 kB / 0.5983 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.131, allocations: 4 kB / 0.5983 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.131, allocations: 4 kB / 0.5983 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.1312, allocations: 81.09 kB / 0.5984 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.1312, allocations: 84.95 kB / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.1312, allocations: 0 / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.1312, allocations: 0 / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.1313, allocations: 7.984 kB / 0.5985 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1313, allocations: 4 kB / 0.5985 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.1313, allocations: 83.34 kB / 0.5985 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 0.5985 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001951/0.1315, allocations: 24 kB / 0.5986 GB, free: 4.715 MB / 0.4981 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.0003939/0.1319, allocations: 0.6436 MB / 0.5992 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.513e-05/0.132, allocations: 20.06 kB / 0.5992 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.132, allocations: 0 / 0.5992 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.132, allocations: 19.86 kB / 0.5992 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.1321, allocations: 4 kB / 0.5992 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.1329, allocations: 1.139 MB / 0.6004 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.1331, allocations: 0.6768 MB / 0.601 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.1331, allocations: 11.94 kB / 0.601 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.1332, allocations: 7.438 kB / 0.601 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1332, allocations: 0 / 0.601 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.149, allocations: 2.094 MB / 0.6031 GB, free: 112 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.331/6.48, allocations: 6 kB / 0.6031 GB, free: 108 kB / 0.4981 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)