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.001201/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001262/0.001262, allocations: 193.2 kB / 16.14 MB, free: 6.707 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001948/0.001948, allocations: 274.9 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8866/0.8866, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 90.47 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1383, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001644/0.14, allocations: 0.5907 MB / 0.6801 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005713/0.1406, allocations: 343 kB / 0.6805 GB, free: 168 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.1406, allocations: 4 kB / 0.6805 GB, free: 164 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1406, allocations: 0 / 0.6805 GB, free: 164 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.714e-05/0.1407, allocations: 0 / 0.6805 GB, free: 164 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.141, allocations: 71.55 kB / 0.6805 GB, free: 96 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.038e-05/0.141, allocations: 7.938 kB / 0.6805 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.1411, allocations: 7.984 kB / 0.6805 GB, free: 80 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1411, allocations: 4 kB / 0.6805 GB, free: 76 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.1411, allocations: 11.92 kB / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1412, allocations: 2.031 kB / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.1414, allocations: 183.8 kB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1415, allocations: 7.984 kB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.1415, allocations: 3.938 kB / 0.6807 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.1416, allocations: 79.8 kB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1416, allocations: 0.7188 kB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1417, allocations: 4 kB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1417, allocations: 0.875 kB / 0.6808 GB, free: 15.79 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.0003331/0.142, allocations: 336.5 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.142, allocations: 12.03 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.1421, allocations: 32.09 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.1421, allocations: 4.938 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1422, allocations: 168.3 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1422, allocations: 5.094 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1423, allocations: 384 / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.1424, allocations: 34.27 kB / 0.6814 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1424, allocations: 7.875 kB / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1424, allocations: 0 / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1424, allocations: 3.938 kB / 0.6814 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.1424, allocations: 7.984 kB / 0.6814 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1426, allocations: 153.7 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/0.1426, allocations: 26.59 kB / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.1427, allocations: 12.92 kB / 0.6816 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.1432, allocations: 0.5739 MB / 0.6822 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1433, allocations: 34.56 kB / 0.6822 GB, free: 14.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.1433, allocations: 4 kB / 0.6822 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004615/0.1437, allocations: 254.2 kB / 0.6824 GB, free: 13.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.1438, allocations: 51.41 kB / 0.6825 GB, free: 13.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.1438, allocations: 101.8 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1439, allocations: 25.7 kB / 0.6826 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.1439, allocations: 84.14 kB / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1439, allocations: 7.906 kB / 0.6827 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.144, allocations: 17.94 kB / 0.6827 GB, free: 13.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.144, allocations: 314.8 kB / 0.683 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.1441, allocations: 7.984 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.1441, allocations: 13.72 kB / 0.683 GB, free: 13.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.1441, allocations: 29.72 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1441, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.452e-05/0.1442, allocations: 57.62 kB / 0.6831 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1442, allocations: 7.938 kB / 0.6831 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1443, allocations: 0 / 0.6831 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1443, allocations: 4 kB / 0.6831 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.1443, allocations: 4 kB / 0.6831 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1443, allocations: 0 / 0.6831 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.1443, allocations: 15.92 kB / 0.6831 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1444, allocations: 0 / 0.6831 GB, free: 13 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.86e-05/0.1444, allocations: 123.1 kB / 0.6833 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1444, allocations: 11.84 kB / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1445, allocations: 53.45 kB / 0.6833 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1446, allocations: 0 / 0.6833 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1446, allocations: 48 / 0.6833 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1446, allocations: 3.984 kB / 0.6833 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.15e-05/0.1447, allocations: 157.7 kB / 0.6835 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1447, allocations: 0 / 0.6835 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.1447, allocations: 7.984 kB / 0.6835 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1447, allocations: 3.938 kB / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1447, allocations: 4 kB / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1447, allocations: 3.938 kB / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1447, allocations: 0 / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.1449, allocations: 77.12 kB / 0.6836 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.1449, allocations: 81.05 kB / 0.6836 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1449, allocations: 3.984 kB / 0.6836 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.46e-05/0.145, allocations: 4.031 kB / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.145, allocations: 4.062 kB / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.145, allocations: 0 / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.943e-05/0.145, allocations: 83.28 kB / 0.6837 GB, free: 12.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.145, allocations: 0 / 0.6837 GB, free: 12.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.1452, allocations: 27.98 kB / 0.6838 GB, free: 12.25 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.0003967/0.1456, allocations: 0.6514 MB / 0.6844 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.1457, allocations: 16 kB / 0.6844 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1457, allocations: 0 / 0.6844 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.1458, allocations: 11.92 kB / 0.6844 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1459, allocations: 4 kB / 0.6844 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.1467, allocations: 1.133 MB / 0.6855 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1469, allocations: 0.6809 MB / 0.6862 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.426e-05/0.147, allocations: 8.062 kB / 0.6862 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.147, allocations: 17.27 kB / 0.6862 GB, free: 9.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.147, allocations: 0 / 0.6862 GB, free: 9.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.1576, allocations: 1.984 MB / 0.6882 GB, free: 7.789 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.1578, allocations: 242.2 kB / 0.6884 GB, free: 7.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.772, allocations: 0 / 0.6884 GB, free: 7.535 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)