Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001066/0.001066, allocations: 196.9 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.78 kB / 0.6709 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2307, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001786/0.2326, allocations: 0.6143 MB / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.2333, allocations: 355.8 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.2333, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.2333, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.623e-05/0.2333, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.2336, allocations: 59.84 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.2337, allocations: 15.98 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.2337, allocations: 3.938 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.2338, allocations: 7.938 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.2338, allocations: 3.984 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2338, allocations: 0 / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.2341, allocations: 195.8 kB / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.2341, allocations: 0 / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.2342, allocations: 11.94 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2343, allocations: 75.86 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2343, allocations: 0 / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2343, allocations: 0 / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2343, allocations: 0 / 0.7841 GB, free: 12.6 MB / 0.6075 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.0003493/0.2347, allocations: 339.7 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2347, allocations: 12.03 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.2348, allocations: 38.73 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.2348, allocations: 8.938 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2349, allocations: 164.4 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2349, allocations: 384 / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.235, allocations: 384 / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.2351, allocations: 34.25 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2351, allocations: 7.875 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2351, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2351, allocations: 7.938 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.2352, allocations: 4 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.2353, allocations: 157.7 kB / 0.7848 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.2354, allocations: 22.61 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.2354, allocations: 8.922 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.236, allocations: 0.5778 MB / 0.7854 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.236, allocations: 38.55 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2361, allocations: 0 / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000487/0.2365, allocations: 250.2 kB / 0.7857 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2366, allocations: 59.34 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.2367, allocations: 102.1 kB / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2367, allocations: 29.7 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.2367, allocations: 80.14 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.2367, allocations: 11.81 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.2368, allocations: 13.72 kB / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2369, allocations: 318.8 kB / 0.7863 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.2369, allocations: 4 kB / 0.7863 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.237, allocations: 21.72 kB / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.237, allocations: 33.64 kB / 0.7863 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.237, allocations: 0 / 0.7863 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.657e-05/0.2371, allocations: 49.64 kB / 0.7864 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2371, allocations: 7.938 kB / 0.7864 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2371, allocations: 7.984 kB / 0.7864 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2371, allocations: 0 / 0.7864 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.2372, allocations: 7.984 kB / 0.7864 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2372, allocations: 8.062 kB / 0.7864 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.2372, allocations: 0 / 0.7864 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.2372, allocations: 0 / 0.7864 GB, free: 9.793 MB / 0.6075 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.638e-05/0.2373, allocations: 117.8 kB / 0.7865 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.2373, allocations: 3.938 kB / 0.7865 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2375, allocations: 53.17 kB / 0.7866 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2375, allocations: 0 / 0.7866 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2375, allocations: 4 kB / 0.7866 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2375, allocations: 4 kB / 0.7866 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.2376, allocations: 153.7 kB / 0.7867 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2376, allocations: 0 / 0.7867 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.2377, allocations: 4 kB / 0.7867 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2377, allocations: 3.938 kB / 0.7867 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2377, allocations: 0 / 0.7867 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2377, allocations: 4 kB / 0.7868 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2377, allocations: 11.88 kB / 0.7868 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2378, allocations: 85.02 kB / 0.7868 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.2379, allocations: 81.05 kB / 0.7869 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2379, allocations: 0 / 0.7869 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.2379, allocations: 4.031 kB / 0.7869 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.238, allocations: 0 / 0.7869 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.238, allocations: 0 / 0.7869 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.238, allocations: 87.69 kB / 0.787 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.238, allocations: 0 / 0.787 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002127/0.2382, allocations: 31.94 kB / 0.787 GB, free: 9.047 MB / 0.6075 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.000461/0.2387, allocations: 0.6477 MB / 0.7877 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.2388, allocations: 19.98 kB / 0.7877 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2388, allocations: 3.938 kB / 0.7877 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.2388, allocations: 7.938 kB / 0.7877 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.239, allocations: 7.938 kB / 0.7877 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.2399, allocations: 1.146 MB / 0.7888 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2401, allocations: 0.677 MB / 0.7895 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.2402, allocations: 4 kB / 0.7895 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.2402, allocations: 11.42 kB / 0.7895 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2402, allocations: 0 / 0.7895 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1977/0.4379, allocations: 1.952 MB / 0.7914 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.4381, allocations: 233.9 kB / 0.7916 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.19, allocations: 8.062 kB / 0.7916 GB, free: 4.324 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)