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.001295/0.001295, allocations: 108 kB / 15.61 MB, free: 152 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.001237/0.001237, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 283.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 104.1 kB / 0.6066 GB, free: 24.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1575, allocations: 89.14 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001663/0.1592, allocations: 0.5258 MB / 0.6941 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000624/0.1598, allocations: 325.5 kB / 0.6944 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.1599, allocations: 0.5312 kB / 0.6944 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1599, allocations: 0 / 0.6944 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.988e-05/0.1599, allocations: 0.5938 kB / 0.6944 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1603, allocations: 109.7 kB / 0.6945 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.1603, allocations: 9.219 kB / 0.6945 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1604, allocations: 0 / 0.6945 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.1604, allocations: 8 kB / 0.6945 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.1604, allocations: 3.984 kB / 0.6945 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1605, allocations: 0.8438 kB / 0.6945 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.1608, allocations: 191.7 kB / 0.6947 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.1608, allocations: 4.594 kB / 0.6947 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1608, allocations: 11.53 kB / 0.6947 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.161, allocations: 83.78 kB / 0.6948 GB, free: 2.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.161, allocations: 0 / 0.6948 GB, free: 2.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.161, allocations: 0 / 0.6948 GB, free: 2.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.161, allocations: 0 / 0.6948 GB, free: 2.965 MB / 494.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.0003711/0.1614, allocations: 345.4 kB / 0.6952 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1614, allocations: 8.031 kB / 0.6952 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.1615, allocations: 30.75 kB / 0.6952 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.1615, allocations: 0.9375 kB / 0.6952 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1616, allocations: 165 kB / 0.6954 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1616, allocations: 1.562 kB / 0.6954 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1617, allocations: 4.375 kB / 0.6954 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.1618, allocations: 34.25 kB / 0.6954 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1618, allocations: 4.469 kB / 0.6954 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1618, allocations: 8 kB / 0.6954 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1618, allocations: 0 / 0.6954 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.1618, allocations: 3.938 kB / 0.6954 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.162, allocations: 153.7 kB / 0.6956 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.162, allocations: 22.61 kB / 0.6956 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.1621, allocations: 12.91 kB / 0.6956 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/0.1627, allocations: 0.5778 MB / 0.6961 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1628, allocations: 34.56 kB / 0.6962 GB, free: 1.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1628, allocations: 3.938 kB / 0.6962 GB, free: 1.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004841/0.1633, allocations: 258.5 kB / 0.6964 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1633, allocations: 55.41 kB / 0.6965 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.1634, allocations: 101.8 kB / 0.6966 GB, free: 0.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1634, allocations: 25.7 kB / 0.6966 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.1635, allocations: 84.12 kB / 0.6967 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.1635, allocations: 15.77 kB / 0.6967 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1635, allocations: 17.72 kB / 0.6967 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1637, allocations: 310.8 kB / 0.697 GB, free: 332 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.1637, allocations: 12 kB / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.1637, allocations: 21.7 kB / 0.697 GB, free: 292 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.694e-05/0.1638, allocations: 25.72 kB / 0.6971 GB, free: 260 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1638, allocations: 0 / 0.6971 GB, free: 260 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.122e-05/0.1639, allocations: 61.53 kB / 0.6971 GB, free: 192 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1639, allocations: 12 kB / 0.6971 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1639, allocations: 4 kB / 0.6971 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1639, allocations: 0 / 0.6971 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.164, allocations: 4 kB / 0.6972 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.164, allocations: 4 kB / 0.6972 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.164, allocations: 0 / 0.6972 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.164, allocations: 0 / 0.6972 GB, free: 168 kB / 494.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 7.825e-05/0.1641, allocations: 113.8 kB / 0.6973 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.1641, allocations: 7.922 kB / 0.6973 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.1643, allocations: 61.17 kB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1643, allocations: 4 kB / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1643, allocations: 0 / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1643, allocations: 0 / 0.6973 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1644, allocations: 153.7 kB / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1644, allocations: 0 / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.1645, allocations: 4 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1645, allocations: 3.938 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1645, allocations: 3.984 kB / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1645, allocations: 4 kB / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1645, allocations: 0 / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1647, allocations: 85 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.1647, allocations: 84.95 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1648, allocations: 4.031 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.1648, allocations: 0 / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.1648, allocations: 3.984 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1648, allocations: 4 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.1649, allocations: 75.7 kB / 0.6977 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1649, allocations: 4.062 kB / 0.6977 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002295/0.1651, allocations: 32 kB / 0.6978 GB, free: 15.43 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.0005069/0.1656, allocations: 0.6438 MB / 0.6984 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.1657, allocations: 16 kB / 0.6984 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1657, allocations: 4.188 kB / 0.6984 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.1658, allocations: 15.88 kB / 0.6984 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1659, allocations: 3.984 kB / 0.6984 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1669, allocations: 1.143 MB / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1672, allocations: 0.6768 MB / 0.7002 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.1672, allocations: 4 kB / 0.7002 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1673, allocations: 17.12 kB / 0.7002 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1673, allocations: 4 kB / 0.7002 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.1944, allocations: 2.088 MB / 0.7023 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.85, allocations: 11.94 kB / 0.7023 GB, free: 10.82 MB / 0.4981 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)