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.001032/0.001032, 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.001082/0.001082, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.9898/0.9898, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 75.88 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1533, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001924/0.1553, allocations: 0.5302 MB / 0.5949 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006659/0.156, allocations: 326.9 kB / 0.5952 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.156, allocations: 0 / 0.5952 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.1561, allocations: 0 / 0.5952 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.975e-05/0.1561, allocations: 0 / 0.5952 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.1565, allocations: 99.69 kB / 0.5953 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.1566, allocations: 11.98 kB / 0.5953 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.1567, allocations: 8 kB / 0.5953 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.1567, allocations: 3.938 kB / 0.5953 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.1567, allocations: 7.984 kB / 0.5954 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1567, allocations: 0 / 0.5954 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.157, allocations: 191.8 kB / 0.5955 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1571, allocations: 0 / 0.5955 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.1571, allocations: 7.875 kB / 0.5955 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1573, allocations: 79.86 kB / 0.5956 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1573, allocations: 4 kB / 0.5956 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.886e-06/0.1573, allocations: 0 / 0.5956 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1573, allocations: 3.938 kB / 0.5956 GB, free: 8.227 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.0003273/0.1576, allocations: 339.7 kB / 0.596 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1577, allocations: 12.03 kB / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.1577, allocations: 42.67 kB / 0.596 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1577, allocations: 0.9375 kB / 0.596 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1578, allocations: 164.4 kB / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1579, allocations: 384 / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1579, allocations: 384 / 0.5962 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.158, allocations: 34.25 kB / 0.5962 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.158, allocations: 3.938 kB / 0.5962 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.158, allocations: 8 kB / 0.5962 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.158, allocations: 4 kB / 0.5962 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.1581, allocations: 3.938 kB / 0.5962 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.1582, allocations: 157.7 kB / 0.5964 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.1583, allocations: 18.61 kB / 0.5964 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.1583, allocations: 8.922 kB / 0.5964 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.1589, allocations: 0.5778 MB / 0.597 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1589, allocations: 34.56 kB / 0.597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1589, allocations: 0 / 0.597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004815/0.1594, allocations: 254.4 kB / 0.5972 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1595, allocations: 55.41 kB / 0.5973 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.1595, allocations: 101.9 kB / 0.5974 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1596, allocations: 29.7 kB / 0.5974 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.1596, allocations: 80.14 kB / 0.5975 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1597, allocations: 7.906 kB / 0.5975 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.1597, allocations: 13.72 kB / 0.5975 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1598, allocations: 326.8 kB / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.1598, allocations: 4 kB / 0.5978 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.1599, allocations: 21.72 kB / 0.5978 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.1599, allocations: 25.7 kB / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1599, allocations: 0 / 0.5979 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.102e-05/0.16, allocations: 53.55 kB / 0.5979 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.16, allocations: 12 kB / 0.5979 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1601, allocations: 7.938 kB / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1601, allocations: 0 / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.1601, allocations: 11.98 kB / 0.5979 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1601, allocations: 0 / 0.5979 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.1602, allocations: 4 kB / 0.598 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1602, allocations: 3.938 kB / 0.598 GB, free: 5.422 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.168e-05/0.1602, allocations: 113.8 kB / 0.5981 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.1603, allocations: 3.938 kB / 0.5981 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1604, allocations: 61.06 kB / 0.5981 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1604, allocations: 3.984 kB / 0.5981 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1604, allocations: 0 / 0.5981 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1604, allocations: 4 kB / 0.5981 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.1605, allocations: 153.7 kB / 0.5983 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1605, allocations: 0 / 0.5983 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.1606, allocations: 4 kB / 0.5983 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1606, allocations: 3.938 kB / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1606, allocations: 0 / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1606, allocations: 0 / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1606, allocations: 8 kB / 0.5983 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.1608, allocations: 81.05 kB / 0.5984 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.1608, allocations: 84.95 kB / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1608, allocations: 0 / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.1609, allocations: 4.031 kB / 0.5985 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.1609, allocations: 0 / 0.5985 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1609, allocations: 0 / 0.5985 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.967e-05/0.1609, allocations: 91.33 kB / 0.5985 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1609, allocations: 0 / 0.5985 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002272/0.1612, allocations: 28 kB / 0.5986 GB, free: 4.688 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.0004694/0.1616, allocations: 0.6403 MB / 0.5992 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.1617, allocations: 19.98 kB / 0.5992 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1618, allocations: 4.188 kB / 0.5992 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-05/0.1618, allocations: 4 kB / 0.5992 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1619, allocations: 8 kB / 0.5992 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.1629, allocations: 1.15 MB / 0.6004 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1632, allocations: 0.6767 MB / 0.601 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.1632, allocations: 4 kB / 0.601 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1633, allocations: 19.42 kB / 0.601 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1633, allocations: 0 / 0.601 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.1824, allocations: 2.088 MB / 0.6031 GB, free: 88 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.537, allocations: 6.062 kB / 0.6031 GB, free: 84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)