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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001989/0.001989, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.9783/0.9783, allocations: 143 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.89 kB / 0.5137 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1605, allocations: 82.03 MB / 0.5938 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001809/0.1623, allocations: 0.5988 MB / 0.5944 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006188/0.1629, allocations: 327 kB / 0.5947 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.163, allocations: 0 / 0.5947 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.163, allocations: 4 kB / 0.5947 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.907e-05/0.163, allocations: 3.938 kB / 0.5947 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1634, allocations: 83.84 kB / 0.5948 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.1635, allocations: 15.98 kB / 0.5948 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.1635, allocations: 0 / 0.5948 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.1635, allocations: 11.92 kB / 0.5948 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.1636, allocations: 4 kB / 0.5948 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1636, allocations: 0 / 0.5948 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.1639, allocations: 183.8 kB / 0.595 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.164, allocations: 3.984 kB / 0.595 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.164, allocations: 15.92 kB / 0.595 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1643, allocations: 79.86 kB / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1643, allocations: 0 / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1643, allocations: 0 / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.1643, allocations: 0 / 0.5951 GB, free: 8.531 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.000495/0.1648, allocations: 339.8 kB / 0.5954 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1649, allocations: 12.56 kB / 0.5954 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.1649, allocations: 4.844 kB / 0.5954 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.165, allocations: 164.4 kB / 0.5956 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1651, allocations: 4.375 kB / 0.5956 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1651, allocations: 8.297 kB / 0.5956 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1652, allocations: 34.27 kB / 0.5956 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1652, allocations: 192 / 0.5956 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1652, allocations: 3.938 kB / 0.5956 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1652, allocations: 4 kB / 0.5956 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.1653, allocations: 3.938 kB / 0.5956 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1654, allocations: 153.7 kB / 0.5958 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.1655, allocations: 26.59 kB / 0.5958 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.1655, allocations: 16.84 kB / 0.5958 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.1661, allocations: 0.5778 MB / 0.5964 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1661, allocations: 34.56 kB / 0.5964 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1661, allocations: 0 / 0.5964 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004729/0.1666, allocations: 254.2 kB / 0.5967 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1666, allocations: 55.41 kB / 0.5967 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.1667, allocations: 89.86 kB / 0.5968 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1667, allocations: 29.7 kB / 0.5968 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.1668, allocations: 88.36 kB / 0.5969 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.1668, allocations: 7.891 kB / 0.5969 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1668, allocations: 17.72 kB / 0.5969 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.1669, allocations: 310.8 kB / 0.5972 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.167, allocations: 4 kB / 0.5972 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.167, allocations: 25.7 kB / 0.5973 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.167, allocations: 29.66 kB / 0.5973 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1671, allocations: 4 kB / 0.5973 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.777e-05/0.1671, allocations: 53.59 kB / 0.5973 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1672, allocations: 11.88 kB / 0.5973 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1672, allocations: 7.938 kB / 0.5974 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1672, allocations: 0 / 0.5974 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.1672, allocations: 4 kB / 0.5974 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1672, allocations: 4 kB / 0.5974 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.1673, allocations: 0 / 0.5974 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1673, allocations: 4.062 kB / 0.5974 GB, free: 5.77 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 7.25e-05/0.1674, allocations: 117.8 kB / 0.5975 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.1674, allocations: 3.938 kB / 0.5975 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.1675, allocations: 53.12 kB / 0.5975 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1675, allocations: 0 / 0.5975 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1675, allocations: 4 kB / 0.5975 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1675, allocations: 0 / 0.5975 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.886e-05/0.1676, allocations: 153.7 kB / 0.5977 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1676, allocations: 4 kB / 0.5977 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.1677, allocations: 4 kB / 0.5977 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1677, allocations: 7.922 kB / 0.5977 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1677, allocations: 3.938 kB / 0.5977 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1677, allocations: 4 kB / 0.5977 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1677, allocations: 0 / 0.5977 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.1678, allocations: 73.12 kB / 0.5978 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1679, allocations: 77.53 kB / 0.5978 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1679, allocations: 4 kB / 0.5979 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.1679, allocations: 8.031 kB / 0.5979 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.1679, allocations: 3.984 kB / 0.5979 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1679, allocations: 7.938 kB / 0.5979 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.168, allocations: 83.27 kB / 0.598 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.168, allocations: 0 / 0.598 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002074/0.1682, allocations: 31.94 kB / 0.598 GB, free: 5.035 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.0001963/0.1684, allocations: 123.2 kB / 0.5981 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.01e-05/0.1685, allocations: 23.98 kB / 0.5981 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1685, allocations: 0 / 0.5981 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.1685, allocations: 11.94 kB / 0.5981 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1687, allocations: 4 kB / 0.5981 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.1689, allocations: 121.4 kB / 0.5983 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1692, allocations: 0.6806 MB / 0.5989 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.1692, allocations: 4.125 kB / 0.5989 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.1692, allocations: 11.44 kB / 0.5989 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1692, allocations: 0 / 0.5989 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of Templates: time 0.003105/0.1723, allocations: 1.218 MB / 0.6001 GB, free: 2.812 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)