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.001371/0.001376, 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.001306/0.001307, allocations: 195 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 279 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 100.9 kB / 0.6065 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1623, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001698/0.164, allocations: 0.529 MB / 0.6941 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006451/0.1647, allocations: 325.8 kB / 0.6944 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.1647, allocations: 0 / 0.6944 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.1647, allocations: 0 / 0.6944 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.208e-05/0.1647, allocations: 4.812 kB / 0.6944 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1651, allocations: 104.3 kB / 0.6945 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.042e-05/0.1652, allocations: 11.88 kB / 0.6945 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.1652, allocations: 7.984 kB / 0.6945 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.1653, allocations: 0 / 0.6945 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.1653, allocations: 8 kB / 0.6946 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1653, allocations: 0 / 0.6946 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.1656, allocations: 191.7 kB / 0.6947 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.1657, allocations: 3.938 kB / 0.6947 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.1657, allocations: 8 kB / 0.6947 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1658, allocations: 79.8 kB / 0.6948 GB, free: 2.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1659, allocations: 0 / 0.6948 GB, free: 2.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.1659, allocations: 4 kB / 0.6948 GB, free: 2.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1659, allocations: 0 / 0.6948 GB, free: 2.988 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.0003837/0.1663, allocations: 339.7 kB / 0.6952 GB, free: 2.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1663, allocations: 12.03 kB / 0.6952 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.1664, allocations: 30.75 kB / 0.6952 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.1664, allocations: 0.9375 kB / 0.6952 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1665, allocations: 164.4 kB / 0.6954 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1665, allocations: 8.375 kB / 0.6954 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1666, allocations: 4.375 kB / 0.6954 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.856e-05/0.1667, allocations: 34.2 kB / 0.6954 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1667, allocations: 3.938 kB / 0.6954 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1667, allocations: 3.984 kB / 0.6954 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1667, allocations: 0 / 0.6954 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.1667, allocations: 4 kB / 0.6954 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1669, allocations: 157.6 kB / 0.6956 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.167, allocations: 22.61 kB / 0.6956 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.167, allocations: 12.92 kB / 0.6956 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/0.1676, allocations: 0.57 MB / 0.6961 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1677, allocations: 42.5 kB / 0.6962 GB, free: 1.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.126e-06/0.1677, allocations: 0 / 0.6962 GB, free: 1.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005606/0.1683, allocations: 262.2 kB / 0.6964 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1683, allocations: 51.41 kB / 0.6965 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.1684, allocations: 101.8 kB / 0.6966 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1684, allocations: 25.7 kB / 0.6966 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.1685, allocations: 92.34 kB / 0.6967 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1685, allocations: 7.844 kB / 0.6967 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1685, allocations: 17.72 kB / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1687, allocations: 314.8 kB / 0.697 GB, free: 348 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.1687, allocations: 8 kB / 0.697 GB, free: 340 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.1687, allocations: 13.72 kB / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.1688, allocations: 33.66 kB / 0.6971 GB, free: 280 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1688, allocations: 0 / 0.6971 GB, free: 280 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.051e-05/0.1689, allocations: 53.59 kB / 0.6971 GB, free: 220 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1689, allocations: 7.938 kB / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1689, allocations: 0 / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1689, allocations: 4 kB / 0.6971 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.169, allocations: 15.92 kB / 0.6972 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.169, allocations: 0 / 0.6972 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.169, allocations: 4 kB / 0.6972 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.169, allocations: 8.062 kB / 0.6972 GB, free: 180 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.957e-05/0.1691, allocations: 105.8 kB / 0.6973 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1692, allocations: 7.938 kB / 0.6973 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.1693, allocations: 53.23 kB / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1693, allocations: 0 / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1693, allocations: 0 / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1693, allocations: 3.938 kB / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1694, allocations: 153.7 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1695, allocations: 7.938 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.1695, allocations: 8 kB / 0.6975 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1695, allocations: 3.938 kB / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1695, allocations: 0 / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1695, allocations: 0 / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1695, allocations: 0 / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.1697, allocations: 73.12 kB / 0.6976 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.1698, allocations: 96.88 kB / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1698, allocations: 0 / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.1698, allocations: 8 kB / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.1698, allocations: 4.031 kB / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1699, allocations: 0 / 0.6977 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.1699, allocations: 79.28 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1699, allocations: 0 / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002248/0.1701, allocations: 31.98 kB / 0.6978 GB, free: 15.45 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.0006323/0.1708, allocations: 0.6442 MB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.35e-05/0.1709, allocations: 23.97 kB / 0.6984 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1709, allocations: 0 / 0.6984 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.1709, allocations: 7.984 kB / 0.6984 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.171, allocations: 4 kB / 0.6984 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1722, allocations: 1.147 MB / 0.6996 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1725, allocations: 0.6768 MB / 0.7002 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.1725, allocations: 8.062 kB / 0.7002 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.1726, allocations: 11.44 kB / 0.7002 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.1726, allocations: 4 kB / 0.7002 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.197, allocations: 2.094 MB / 0.7023 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.84, allocations: 17 kB / 0.7023 GB, free: 10.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)