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.001149/0.001149, 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.001186/0.001186, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.9027/0.9027, allocations: 143.1 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.91 kB / 0.5138 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1372, allocations: 82.03 MB / 0.5939 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001518/0.1388, allocations: 0.606 MB / 0.5945 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004946/0.1393, allocations: 327 kB / 0.5948 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.1393, allocations: 0 / 0.5948 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.1393, allocations: 4 kB / 0.5948 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.163e-05/0.1393, allocations: 0 / 0.5948 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1397, allocations: 83.84 kB / 0.5949 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.482e-05/0.1397, allocations: 8 kB / 0.5949 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.1397, allocations: 3.984 kB / 0.5949 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1398, allocations: 11.94 kB / 0.5949 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.007e-05/0.1398, allocations: 0 / 0.5949 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1398, allocations: 0 / 0.5949 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.14, allocations: 195.8 kB / 0.5951 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.1401, allocations: 7.984 kB / 0.5951 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.1401, allocations: 7.938 kB / 0.5951 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1402, allocations: 75.86 kB / 0.5952 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1402, allocations: 0 / 0.5952 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1402, allocations: 0 / 0.5952 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1402, allocations: 3.938 kB / 0.5952 GB, free: 8.543 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.0002725/0.1405, allocations: 347.6 kB / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1405, allocations: 8.031 kB / 0.5955 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.1406, allocations: 30.75 kB / 0.5956 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.1406, allocations: 8.938 kB / 0.5956 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.1407, allocations: 164.4 kB / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1407, allocations: 4.375 kB / 0.5957 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1407, allocations: 384 / 0.5957 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.633e-05/0.1408, allocations: 34.27 kB / 0.5958 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1408, allocations: 3.938 kB / 0.5958 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1408, allocations: 3.984 kB / 0.5958 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1408, allocations: 0 / 0.5958 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.1409, allocations: 7.922 kB / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.141, allocations: 153.7 kB / 0.5959 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.141, allocations: 30.59 kB / 0.596 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.1411, allocations: 8.797 kB / 0.596 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.1416, allocations: 0.5779 MB / 0.5965 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1416, allocations: 34.56 kB / 0.5966 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1416, allocations: 0 / 0.5966 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003791/0.142, allocations: 254.2 kB / 0.5968 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.142, allocations: 51.41 kB / 0.5969 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.02e-05/0.1421, allocations: 106.1 kB / 0.597 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1421, allocations: 25.7 kB / 0.597 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.1421, allocations: 80.14 kB / 0.5971 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.1421, allocations: 11.89 kB / 0.5971 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.1422, allocations: 13.72 kB / 0.5971 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.1423, allocations: 322.8 kB / 0.5974 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.1423, allocations: 7.984 kB / 0.5974 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.1423, allocations: 13.72 kB / 0.5974 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.1424, allocations: 25.72 kB / 0.5974 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1424, allocations: 0 / 0.5974 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.446e-05/0.1424, allocations: 65.47 kB / 0.5975 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1425, allocations: 11.94 kB / 0.5975 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1425, allocations: 0 / 0.5975 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1425, allocations: 0 / 0.5975 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.1425, allocations: 8 kB / 0.5975 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1425, allocations: 8.047 kB / 0.5975 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.1426, allocations: 0 / 0.5975 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1426, allocations: 0 / 0.5975 GB, free: 5.738 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 5.623e-05/0.1426, allocations: 109.8 kB / 0.5976 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.1426, allocations: 3.938 kB / 0.5976 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/0.1427, allocations: 65.06 kB / 0.5977 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1428, allocations: 0 / 0.5977 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1428, allocations: 0 / 0.5977 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1428, allocations: 4 kB / 0.5977 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.1429, allocations: 153.7 kB / 0.5978 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1429, allocations: 4 kB / 0.5978 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.1429, allocations: 7.984 kB / 0.5979 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1429, allocations: 3.938 kB / 0.5979 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1429, allocations: 4 kB / 0.5979 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1429, allocations: 0 / 0.5979 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1429, allocations: 0 / 0.5979 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.143, allocations: 85.38 kB / 0.5979 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.1431, allocations: 93.02 kB / 0.598 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1431, allocations: 3.984 kB / 0.598 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.1431, allocations: 0 / 0.598 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-06/0.1432, allocations: 0 / 0.598 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1432, allocations: 4 kB / 0.598 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.6e-05/0.1432, allocations: 75.28 kB / 0.5981 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1432, allocations: 0 / 0.5981 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002026/0.1434, allocations: 31.98 kB / 0.5981 GB, free: 5 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.0003767/0.1438, allocations: 0.6398 MB / 0.5988 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.764e-05/0.1439, allocations: 16 kB / 0.5988 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1439, allocations: 0 / 0.5988 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.1439, allocations: 11.98 kB / 0.5988 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.144, allocations: 7.875 kB / 0.5988 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.1448, allocations: 1.155 MB / 0.5999 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.145, allocations: 0.6768 MB / 0.6006 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.145, allocations: 8.062 kB / 0.6006 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.145, allocations: 11.44 kB / 0.6006 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.145, allocations: 0 / 0.6006 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.1567, allocations: 2.014 MB / 0.6026 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.157, allocations: 241.3 kB / 0.6028 GB, free: 268 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.773, allocations: 6.953 kB / 0.6028 GB, free: 264 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)