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.0007394/0.0007394, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.004762/0.004762, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001623/0.001623, allocations: 266.9 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8642/0.8642, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004425, allocations: 20.05 kB / 0.5988 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005305/0.132, allocations: 264.5 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005568/0.1326, allocations: 343 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.1326, allocations: 4 kB / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.407e-06/0.1327, allocations: 2.625 kB / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.188e-05/0.1327, allocations: 0 / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.133, allocations: 68.28 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.614e-05/0.133, allocations: 7.938 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.133, allocations: 4.5 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.1331, allocations: 8.984 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.1331, allocations: 7.984 kB / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1331, allocations: 0 / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.1334, allocations: 185.4 kB / 0.6861 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1334, allocations: 7.938 kB / 0.6861 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.1334, allocations: 29.69 kB / 0.6861 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1336, allocations: 79.8 kB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1336, allocations: 0.75 kB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1336, allocations: 0 / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.1336, allocations: 4.531 kB / 0.6862 GB, free: 13.97 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.0002427/0.1338, allocations: 337.5 kB / 0.6865 GB, free: 13.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1339, allocations: 11.97 kB / 0.6865 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.1339, allocations: 30.75 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.1339, allocations: 0.9375 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/0.134, allocations: 168.9 kB / 0.6867 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.134, allocations: 2.969 kB / 0.6867 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1341, allocations: 4.359 kB / 0.6867 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.1341, allocations: 34.27 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1341, allocations: 3.938 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.1342, allocations: 4 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1342, allocations: 0 / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.1342, allocations: 1.938 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.1343, allocations: 157.7 kB / 0.6869 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.933e-05/0.1344, allocations: 22.55 kB / 0.6869 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.1344, allocations: 17.62 kB / 0.687 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/0.1349, allocations: 0.5807 MB / 0.6875 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1349, allocations: 35.22 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1349, allocations: 0 / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000433/0.1354, allocations: 258.2 kB / 0.6878 GB, free: 11.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.1354, allocations: 55.41 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.1355, allocations: 101.8 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1355, allocations: 25.7 kB / 0.688 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.1355, allocations: 80.14 kB / 0.6881 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1355, allocations: 12.11 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.1356, allocations: 17.72 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.1356, allocations: 310.8 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.1357, allocations: 7.938 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.1357, allocations: 21.7 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.1357, allocations: 21.72 kB / 0.6884 GB, free: 11.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1358, allocations: 8 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.309e-05/0.1358, allocations: 53.62 kB / 0.6885 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1359, allocations: 7.938 kB / 0.6885 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1359, allocations: 0 / 0.6885 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.1359, allocations: 0 / 0.6885 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.362e-05/0.1359, allocations: 8 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1359, allocations: 0 / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.136, allocations: 0 / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.136, allocations: 4 kB / 0.6885 GB, free: 11.2 MB / 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 5.912e-05/0.136, allocations: 119.2 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.136, allocations: 11.84 kB / 0.6886 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1361, allocations: 61.42 kB / 0.6887 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1362, allocations: 0 / 0.6887 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1362, allocations: 0 / 0.6887 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1362, allocations: 0 / 0.6887 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.595e-05/0.1363, allocations: 157.7 kB / 0.6888 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1363, allocations: 0 / 0.6888 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.1363, allocations: 8 kB / 0.6889 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1363, allocations: 7.938 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.1363, allocations: 0 / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1363, allocations: 3.984 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1363, allocations: 0 / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1365, allocations: 81.09 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.1365, allocations: 81.05 kB / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1365, allocations: 0 / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.1365, allocations: 3.938 kB / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.1366, allocations: 12.05 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1366, allocations: 4 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.1366, allocations: 79.28 kB / 0.6891 GB, free: 10.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1366, allocations: 0 / 0.6891 GB, free: 10.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1368, allocations: 24 kB / 0.6891 GB, free: 10.45 MB / 494.1 MB 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.0003747/0.1372, allocations: 0.6475 MB / 0.6898 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.606e-05/0.1373, allocations: 19.98 kB / 0.6898 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1373, allocations: 0 / 0.6898 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.1373, allocations: 8 kB / 0.6898 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1374, allocations: 5.969 kB / 0.6898 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.1382, allocations: 1.146 MB / 0.6909 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1383, allocations: 0.6848 MB / 0.6916 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.1384, allocations: 4 kB / 0.6916 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.1384, allocations: 11.42 kB / 0.6916 GB, free: 7.777 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1384, allocations: 4 kB / 0.6916 GB, free: 7.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/1.164, allocations: 1.912 MB / 0.6935 GB, free: 6.074 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.164, allocations: 248.5 kB / 0.6937 GB, free: 5.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.698, allocations: 2.406 kB / 0.6937 GB, free: 5.816 MB / 494.1 MB (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)